[PATCH 0/2] Mark USB4 controllers as is_thunderbolt

Mario Limonciello
2022-02-04T18:29:10Z

Various drivers in the kernel use `pci_is_thunderbolt_attached` to
designate behaving differently from a device that is internally in
the machine. This function relies upon the `is_thunderbolt` designation
which checks for a specific capability only set on Intel controllers.

Non-Intel USB4 designs should also match this designation so that they
can be treated the same regardless of the host they're connected to.

Mario Limonciello (2):
thunderbolt: move definition of PCI_CLASS_SERIAL_USB_USB4
pci: mark USB4 devices as "is_thunderbolt"

drivers/pci/probe.c | 4 ++--
drivers/thunderbolt/nhi.h | 2 --
include/linux/pci_ids.h | 1 +
3 files changed, 3 insertions(+), 4 deletions(-)

--
2.34.1