[PATCH v2 0/2] Add Apple T2 NHI device links

Atharva Tiwari <[email protected]> Tue, 21 Jul 2026 01:45:00 -0400
Newsgroups gmane.linux.kernel.lsm,gmane.linux.kernel.pci,gmane.linux.kernel,gmane.linux.usb.general,gmane.linux.drivers.platform.x86.devel
Message-ID <[email protected]>
This series adds a cached flag to detect Apple T2 systems, then uses it
to create device links for the Thunderbolt NHI.

Changes in v2:
- Used a less generic name for has_t2_chip
- Used DMI instead of PCI for has_apple_t2_chip to avoid PCI problems
- Initialized ret in tb_apple_add_links

Link to v1:
https://lore.kernel.org/all/[email protected]/

Atharva Tiwari (2):
  treewide: Add a flag to detect the Apple T2 chip
  thunderbolt: Add device links for Apple T2 NHI

 arch/x86/kernel/quirks.c                      | 105 ++++++++++++++++++
 drivers/thunderbolt/tb.c                      |  51 ++++++++-
 include/linux/platform_data/x86/apple.h       |   5 +
 security/integrity/platform_certs/load_uefi.c |  38 ++-----
 4 files changed, 168 insertions(+), 31 deletions(-)

-- 
2.43.0