On Wed, 17 Jun 2026 07:21:36 +0900 Tomoaki AOKI <[email protected]> wrote:
> On Tue, 16 Jun 2026 22:32:31 +0200 > Lars Engels <[email protected]> wrote: > > > On Mon, Jun 15, 2026 at 08:40:19PM -0700, Enji Cooper (yaneurabeya) wrote: > > > > > > > On Jun 14, 2026, at 11:19 PM, Chris Torek <[email protected]> wrote: > > > > > > > > Noticed that there's some new thunderbolt code. I get this during boot: > > > > > > > > pci3: <PCI bus> on pcib3 > > > > nhi0: <Generic USB4 NHI> at device 0.0 on pci3 > > > > nhi0: Cannot find Upstream Facing Port > > > > nhi0: tb_router_attach_root() error. The driver should be loaded at > > > > boot > > > > > > > > If it helps any, here's some "pciconf -lv" output snippets: > > > > > > > > pcib2@pci0:1:0:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > > > > device=0x > > > > 1136 subvendor=0x8086 subdevice=0x0000 > > > > vendor = 'Intel Corporation' > > > > device = 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > > > > class = bridge > > > > subclass = PCI-PCI > > > > pcib3@pci0:2:0:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > > > > device=0x > > > > 1136 subvendor=0x8086 subdevice=0x0000 > > > > vendor = 'Intel Corporation' > > > > device = 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > > > > class = bridge > > > > subclass = PCI-PCI > > > > pcib4@pci0:2:1:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > > > > device=0x > > > > 1136 subvendor=0x8086 subdevice=0x0000 > > > > vendor = 'Intel Corporation' > > > > device = 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > > > > class = bridge > > > > subclass = PCI-PCI > > > > > > > > Can include more if needed. System works fine without whatever it's > > > > trying to do (of course, since it wasn't even detected before :-) ) > > > > > > Hi Chris, > > > I lit up the code in GENERIC in 886164895f — so that’s my fault :) > > > (any info about the thunderbolt devices would be appreciated!). obiwac@ > > > asked that I back it out, so I’ll take care of that now since it’s on my > > > mind. > > > Thanks! > > > -Enji > > > > > > PS The thunderbolt(4) device implementation is incomplete: it was based > > > on work done by hselasky@ before he passed away back in 2023. I have a > > > TODO item to look at trying and get it working (enough) to have > > > functional Thunderbolt/USB4 stack for storage purposes, but it’s way down > > > my TODO list. tl;dr: I’m trying to get a partially functional Mac x86 > > > port before Apple nukes Intel support from macOS. > > > > > > I am seeing the same error message on AMD hardware. > > > > # pciconf -lv|rg -A4 nhi > > nhi0@pci0:195:0:5: class=0x0c0340 rev=0x00 hdr=0x00 vendor=0x1022 > > device=0x1668 subvendor=0xf111 subdevice=0x0006 > > vendor = 'Advanced Micro Devices, Inc. [AMD]' > > device = 'Pink Sardine USB4/Thunderbolt NHI controller' > > class = serial bus > > subclass = USB > > nhi1@pci0:195:0:6: class=0x0c0340 rev=0x00 hdr=0x00 vendor=0x1022 > > device=0x1669 subvendor=0xf111 subdevice=0x0006 > > vendor = 'Advanced Micro Devices, Inc. [AMD]' > > device = 'Pink Sardine USB4/Thunderbolt NHI controller' > > class = serial bus > > subclass = USB > > For me (on MinisForum MS-01), I see below in last dmesg.today: > > (snip) > > nhi0: <Generic USB4 NHI> mem > 0x414e440000-0x414e47ffff,0x414e4ac000-0x414e4acfff at device 13.2 on > pci0 > nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at > boot device_attach: nhi0 attach returned 60 > nhi0: <Generic USB4 NHI> mem > 0x414e400000-0x414e43ffff,0x414e4ab000-0x414e4abfff at device 13.3 on > pci0 > nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at > boot device_attach: nhi0 attach returned 60 > > (snip) > > nhi0: <Generic USB4 NHI> mem > 0x414e440000-0x414e47ffff,0x414e4ac000-0x414e4acfff at device 13.2 on > pci0 nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at > boot device_attach: nhi0 attach returned 60 > nhi0: <Generic USB4 NHI> mem > 0x414e400000-0x414e43ffff,0x414e4ab000-0x414e4abfff at device 13.3 on > pci0 > nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at > boot > device_attach: nhi0 attach returned 60 > > (snip) > > nhi0: <Generic USB4 NHI> mem > 0x414e440000-0x414e47ffff,0x414e4ac000-0x414e4acfff at device 13.2 on > pci0 > nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at > boot > device_attach: nhi0 attach returned 60 > nhi0: <Generic USB4 NHI> mem > 0x414e400000-0x414e43ffff,0x414e4ab000-0x414e4abfff at device 13.3 on > pci0 > nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at > boot > device_attach: nhi0 attach returned 60 > > (snip to end of file) > > > And related `pciconf -lv` output on stable/15 (sorry, cannot switch > to main for now, but on exactly same hardware on different SSD): > > (snip) > > pcib4@pci0:0:7:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > device=0x466e subvendor=0x0000 subdevice=0x0000 vendor = 'Intel > Corporation' device = 'Alder Lake-P Thunderbolt 4 PCI Express Root > Port' class = bridge > subclass = PCI-PCI > pcib5@pci0:0:7:2: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > device=0x462f subvendor=0x0000 subdevice=0x0000 vendor = 'Intel > Corporation' device = 'Alder Lake-P Thunderbolt 4 PCI Express Root > Port' class = bridge > subclass = PCI-PCI > xhci0@pci0:0:13:0: class=0x0c0330 rev=0x02 hdr=0x00 > vendor=0x8086 device=0x461e subvendor=0x0000 subdevice=0x0000 > vendor = 'Intel Corporation' device = 'Alder Lake-P Thunderbolt > 4 USB Controller' class = serial bus > subclass = USB > none0@pci0:0:13:2: class=0x0c0340 rev=0x02 hdr=0x00 > vendor=0x8086 device=0x463e subvendor=0x2222 subdevice=0x1111 > vendor = 'Intel Corporation' device = 'Alder Lake-P Thunderbolt > 4 NHI' class = serial bus > subclass = USB > none1@pci0:0:13:3: class=0x0c0340 rev=0x02 hdr=0x00 > vendor=0x8086 device=0x466d subvendor=0x2222 subdevice=0x1111 > vendor = 'Intel Corporation' device = 'Alder Lake-P Thunderbolt > 4 NHI' class = serial bus > subclass = USB > > (snip to the end) > > > I'll obtain the output once I could switch to main and report again. > > Regards. > > -- > Tomoaki AOKI <[email protected]> Took a brief time to switch to main at commit fcb31b571124. `pciconf -lv` as regular user doesn't seem to differ that of stable/15. So tried `pciconf -lvbce` as root. Relevant parts are like below. > pcib4@pci0:0:7:0: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > device=0x466e subvendor=0x0000 subdevice=0x0000 > vendor = 'Intel Corporation' > device = 'Alder Lake-P Thunderbolt 4 PCI Express Root Port' > class = bridge > subclass = PCI-PCI > cap 10[40] = PCI-Express 2 root port max data 128(128) ARI disabled > max read 128 > link x0(x4) speed 0.0(2.5) ASPM L1(L1) > slot 3 power limit 0 mW HotPlug(empty) surprise > cap 05[80] = MSI supports 1 message enabled with 1 message > cap 0d[90] = PCI Bridge subvendor=0x0000 subdevice=0x0000 > cap 01[a0] = powerspec 3 supports D0 D3 current D0 > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected > ecap 000d[220] = ACS 1 Source Validation disabled, Translation Blocking > disabled > P2P Req Redirect disabled, P2P Cmpl Redirect disabled > P2P Upstream Forwarding disabled, P2P Egress Control > unavailable > P2P Direct Translated unavailable, Enhanced Capability > unavailable > ecap 001f[150] = Precision Time Measurement 1 > ecap 001d[a00] = Downstream Port Containment 1 > ecap 0019[a30] = PCIe Sec 1 lane errors 0 > ecap 0025[a90] = Data Link Feature 1 > ecap 0015[ba0] = Resizable BAR 0 > pcib5@pci0:0:7:2: class=0x060400 rev=0x02 hdr=0x01 vendor=0x8086 > device=0x462f subvendor=0x0000 subdevice=0x0000 > vendor = 'Intel Corporation' > device = 'Alder Lake-P Thunderbolt 4 PCI Express Root Port' > class = bridge > subclass = PCI-PCI > cap 10[40] = PCI-Express 2 root port max data 128(128) ARI disabled > max read 128 > link x0(x4) speed 0.0(2.5) ASPM L1(L1) > slot 5 power limit 0 mW HotPlug(empty) surprise > cap 05[80] = MSI supports 1 message enabled with 1 message > cap 0d[90] = PCI Bridge subvendor=0x0000 subdevice=0x0000 > cap 01[a0] = powerspec 3 supports D0 D3 current D0 > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected > ecap 000d[220] = ACS 1 Source Validation disabled, Translation Blocking > disabled > P2P Req Redirect disabled, P2P Cmpl Redirect disabled > P2P Upstream Forwarding disabled, P2P Egress Control > unavailable > P2P Direct Translated unavailable, Enhanced Capability > unavailable > ecap 001f[150] = Precision Time Measurement 1 > ecap 001d[a00] = Downstream Port Containment 1 > ecap 0019[a30] = PCIe Sec 1 lane errors 0 > ecap 0025[a90] = Data Link Feature 1 > ecap 0015[ba0] = Resizable BAR 0 > xhci0@pci0:0:13:0: class=0x0c0330 rev=0x02 hdr=0x00 vendor=0x8086 > device=0x461e subvendor=0x0000 subdevice=0x0000 > vendor = 'Intel Corporation' > device = 'Alder Lake-P Thunderbolt 4 USB Controller' > class = serial bus > subclass = USB > bar [10] = type Memory, range 64, base 0x414e490000, size 65536, enabled > cap 01[70] = powerspec 2 supports D0 D3 current D0 > cap 05[80] = MSI supports 8 messages, 64 bit enabled with 1 message > cap 09[90] = vendor (length 20) Intel cap 15 version 0 > cap 09[b0] = vendor (length 0) Intel cap 0 version 1 > none0@pci0:0:13:2: class=0x0c0340 rev=0x02 hdr=0x00 vendor=0x8086 > device=0x463e subvendor=0x2222 subdevice=0x1111 > vendor = 'Intel Corporation' > device = 'Alder Lake-P Thunderbolt 4 NHI' > class = serial bus > subclass = USB > bar [10] = type Memory, range 64, base 0x414e440000, size 262144, > enabled > bar [18] = type Memory, range 64, base 0x414e4ac000, size 4096, enabled > cap 01[80] = powerspec 3 supports D0 D1 D2 D3 current D0 > cap 05[88] = MSI supports 1 message, 64 bit > cap 11[a0] = MSI-X supports 16 messages > Table in map 0x18[0x0], PBA in map 0x18[0xfa0] > none1@pci0:0:13:3: class=0x0c0340 rev=0x02 hdr=0x00 vendor=0x8086 > device=0x466d subvendor=0x2222 subdevice=0x1111 > vendor = 'Intel Corporation' > device = 'Alder Lake-P Thunderbolt 4 NHI' > class = serial bus > subclass = USB > bar [10] = type Memory, range 64, base 0x414e400000, size 262144, > enabled > bar [18] = type Memory, range 64, base 0x414e4ab000, size 4096, enabled > cap 01[80] = powerspec 3 supports D0 D1 D2 D3 current D0 > cap 05[88] = MSI supports 1 message, 64 bit > cap 11[a0] = MSI-X supports 16 messages > Table in map 0x18[0x0], PBA in map 0x18[0xfa0] -- Tomoaki AOKI <[email protected]>
