You are not logged in.

#1 2020-02-20 03:57:30

rickliu2000
Member
Registered: 2018-05-16
Posts: 1

No bus number available for hot-added bridge on x570 TB3 devices

I have trouble getting a thunderbolt3 sfp+ card on my x570 itx build
Here is the dmesg message and uname -a output

[198644.406749] thunderbolt 0-1: new device found, vendor=0x56 device=0x10d2
[198644.406752] thunderbolt 0-1: QNAP Systems, Inc. QNA-T310G1S
[198644.620734] pcieport 0000:05:01.0: pciehp: Slot(1): Card present
[198644.620737] pcieport 0000:05:01.0: pciehp: Slot(1): Link Up
[198644.753904] pci 0000:07:00.0: [8086:15c0] type 01 class 0x060400
[198644.754051] pci 0000:07:00.0: enabling Extended Tags
[198644.754289] pci 0000:07:00.0: supports D1 D2
[198644.754291] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[198644.754467] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
[198644.754608] pcieport 0000:05:01.0: ASPM: current common clock configuration is broken, reconfiguring
[198644.754679] pci 0000:07:00.0: No bus number available for hot-added bridge
[198644.754684] pcieport 0000:05:01.0: PCI bridge to [bus 07]
[198644.754688] pcieport 0000:05:01.0:   bridge window [io  0xc000-0xcfff]
[198644.754696] pcieport 0000:05:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
[198644.754700] pcieport 0000:05:01.0:   bridge window [mem 0x90000000-0x901fffff 64bit pref]

Linux 5.5.4-arch1-1 #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +0000 x86_64 GNU/Linux

lspci -tv:

-[0000:00]-+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
           +-01.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-01.2-[01-29]----00.0-[02-29]--+-01.0-[03]----00.0  Intel Corporation PCIe Data Center SSD
           |                               +-02.0-[04-23]----00.0-[05-24]--+-00.0-[06]----00.0  Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018]
           |                               |                               +-01.0-[07]----00.0-[00]--
           |                               |                               \-02.0-[08]----00.0  Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018]
           |                               +-04.0-[25]----00.0  Intel Corporation Wi-Fi 6 AX200
           |                               +-05.0-[26]----00.0  Intel Corporation I211 Gigabit Network Connection
           |                               +-08.0-[27]--+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
           |                               |            +-00.1  Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
           |                               |            \-00.3  Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
           |                               +-09.0-[28]----00.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
           |                               \-0a.0-[29]----00.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
           +-02.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-03.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-03.1-[2a-2c]----00.0-[2b-2c]----00.0-[2c]--+-00.0  Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
           |                                            \-00.1  Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
           +-04.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-05.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-07.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-07.1-[2d]----00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
           +-08.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
           +-08.1-[2e]--+-00.0  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
           |            +-00.1  Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
           |            +-00.3  Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
           |            \-00.4  Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
           +-08.2-[2f]----00.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
           +-08.3-[30]----00.0  Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
           +-14.0  Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
           +-14.3  Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
           +-18.0  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0
           +-18.1  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1
           +-18.2  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2
           +-18.3  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3
           +-18.4  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4
           +-18.5  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5
           +-18.6  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6
           \-18.7  Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7

My motherboard is X570 Phantom Gaming-ITX/TB3. Any idea of whats going on?

Last edited by rickliu2000 (2020-02-20 03:58:19)

Offline

#2 2020-06-10 08:11:50

computoruzer
Member
Registered: 2016-09-05
Posts: 6

Re: No bus number available for hot-added bridge on x570 TB3 devices

I also had this issue for awhile on my laptop. Searching around online it seems like it could be related to some new BIOS firmware. Anyways the suggestion here works for me (https://forum.level1techs.com/t/asrock- … e/156951/8).

pci=realloc,assign-busses,hpbussize=0x33

Because it seems that pci is already attempting to realloc and assign your TB3 device, I'm assuming the meat of it is `hpbussize`

hpbussize=nn    The minimum amount of additional bus numbers
                                reserved for buses below a hotplug bridge.
                                Default is 1.

This seems related to an email chain here (https://www.spinics.net/lists/linux-pci/msg52787.html)

As far as I know there is not a patch for this.  We probably should
reserve some bus number space just like we do for memory and I/O
space, but I don't think we do that today.

One workaround would be to have firmware configure the upstream
bridges (05:00.0 and the path leading to it) with larger bus number
apertures.

Offline

#3 2020-12-02 08:19:12

andrej.podzimek
Member
From: Zürich, Switzerland
Registered: 2005-04-10
Posts: 107

Re: No bus number available for hot-added bridge on x570 TB3 devices

computoruzer wrote:
pci=realloc,assign-busses,hpbussize=0x33

Thanks a lot, this helps! For me this made at least Thunderbolt 3 docks usable with my ASRock x570 Creator desktop.

Unfortunately, while docks work fine, my eGPU still doesn't work. Because it's only tangentially related to this topic, I've started a new thread with more details.

Offline

Board footer

Powered by FluxBB