[PATCH v2 6/9] PCI: Rename is_thunderbolt to is_tunneled
Lukas Wunner
lukas at wunner.de
Mon Nov 6 18:18:18 UTC 2023
On Mon, Nov 06, 2023 at 10:59:13AM -0600, Mario Limonciello wrote:
> On 11/5/2023 11:39, Lukas Wunner wrote:
> > On Fri, Nov 03, 2023 at 02:07:55PM -0500, Mario Limonciello wrote:
> > > The `is_thunderbolt` bit has been used to indicate that a PCIe device
> > > contained the Intel VSEC which is used by various parts of the kernel
> > > to change behavior. To later allow usage with USB4 controllers as well,
> > > rename this to `is_tunneled`.
> >
> > This doesn't seem to make sense. is_thunderbolt indicates that a device
> > is part of a Thunderbolt controller. See the code comment:
> >
> > > - unsigned int is_thunderbolt:1; /* Thunderbolt controller */
> >
> > A Thunderbolt controller is not necessarily tunneled. The PCIe switch,
> > NHI and XHCI of the Thunderbolt host controller are not tunneled at all.
>
> I could really use some clarification which PCIe devices actually contain
> the Intel VSEC.
>
> Is it in all 3 of those PCIe devices and not just the switch?
Yes, I've just double-checked Light Ridge, Cactus Ridge, Alpine Ridge.
Thanks,
Lukas
More information about the dri-devel
mailing list