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

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to