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]>

Reply via email to