Linux PCI subsystem development
 help / color / mirror / Atom feed
* [BUG] Thunderbolt eGPU PCI BARs incorrectly assigned, fails to assign memory
@ 2025-08-31 10:51 Steve Oswald
  2025-09-01 13:25 ` Ilpo Järvinen
  0 siblings, 1 reply; 11+ messages in thread
From: Steve Oswald @ 2025-08-31 10:51 UTC (permalink / raw)
  To: linux-pci

Hello,

I’ve encountered an issue with Thunderbolt eGPU (externally connected
gpu via thunderbolt 4). The change from kernel 6.10.14 to 6.11.0 broke
the pci memory assignment of the external pcie device. I figured out
which version broke it by using ubuntu 25.04 and downgrading the
kernel (https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh).

From the dmesg output, on the broken 6.11.0 I see 'failed to assign'.
The issue occurs (almost never) on previous kernel version 6.10.14.
Using pci=realloc did not change the behavior (I can produce the dmesg
output if necessary).

The issue was tested with 2 egpus (Radeon Instinct MI50 32GB, NVIDIA
3080 10GB). Both the amd and the nvidia driver fail to initialize the
device because they cannot write the pcie messages.

System details:
- Kernel: Linux 6.10.14-061014-generic (Ubuntu build) > 6.11.0-061100
- Laptop: TUXEDO InfinityBook Pro 16 - Gen8 with Thunderbolt 4
- eGPU: Radeon Instinct MI50 32GB, NVIDIA 3080 10GB

Steps to reproduce:
1. Boot the system with the eGPU.
2. Observe PCI BAR message in `dmesg`.

Logs:
both kernel messages, lspci can be found here:
https://gist.github.com/stepeos/cd060c7d66ab195f51ab4d5675b4e4af
raw files:
- dmesg_linux_6.11.0.log
https://gist.githubusercontent.com/stepeos/cd060c7d66ab195f51ab4d5675b4e4af/raw/f9470a06ff929d386c50ec6b5d07e0ff3f053dcf/dmesg_linux_6.11.0.log
- dmesg_linux_6.10.14.log
https://gist.githubusercontent.com/stepeos/cd060c7d66ab195f51ab4d5675b4e4af/raw/f9470a06ff929d386c50ec6b5d07e0ff3f053dcf/dmesg_linux_6.10.14.log

If additional info is needed, I'm happy to help.


Cheers,

Steve

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-11-07 16:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-31 10:51 [BUG] Thunderbolt eGPU PCI BARs incorrectly assigned, fails to assign memory Steve Oswald
2025-09-01 13:25 ` Ilpo Järvinen
2025-09-01 15:50   ` Ilpo Järvinen
2025-09-01 16:06     ` Ilpo Järvinen
2025-09-01 16:18       ` Steve Oswald
2025-09-01 16:28         ` Ilpo Järvinen
2025-09-03 13:09         ` Ilpo Järvinen
2025-10-08 10:43           ` Ilpo Järvinen
2025-10-11 14:12             ` Steve Oswald
2025-11-07 16:22               ` Ilpo Järvinen
2025-09-01 16:10     ` Steve Oswald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox