[PATCH v8 0/3] Add Apple T2 NHI Device links
From: Atharva Tiwari
Date: Mon Aug 17 2026 - 06:13:57 EST
This series adds support for Device linking on Titan ridge, and
Icelake, which are used exclusively on Apple T2 machines.
Changes in v8:
- Shifted tb_apple_add_links to pci.c
Changes in v7:
- Used pci_lock_rescan_remove to prevent race conditons.
- Fixed patch format.
Changes in v6:
- Used for_each_pci_bridge in Icelake section
- Removed has_apple_t2_chip as its not required now
Changes in v5:
- Used Icelake root PCI IDs for detection of root ports instead of TRP
Changes in v4:
- Limited TRP check to T2 Icelake systems only
- Optimized has_apple_t2_chip check
- Included pci.h to drivers/thunderbolt/tb.c
- Used __free(pci_dev_put) to avoid label
Changes in v3:
- Fix build errors with non-x86 machines
- Used __initconst for apple_t2_devices
- Removed UEFI_QUIRK_SKIP_CERT as its unused now
- Used IS_ENABLED(CONFIG_ACPI) in tb_apple_add_links for the T2 part
- Removed !bid check to remove warning with -Waddress
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 v7:
https://lore.kernel.org/all/20260812153717.1345-1-atharvatiwarilinuxdev@xxxxxxxxx/
Link to v6:
https://lore.kernel.org/all/20260730223435.2874-1-atharvatiwarilinuxdev@xxxxxxxxx/
Link to v5:
https://lore.kernel.org/all/20260727211807.1223-1-atharvatiwarilinuxdev@xxxxxxxxx/
Link to v4:
https://lore.kernel.org/all/20260724164641.2239-1-atharvatiwarilinuxdev@xxxxxxxxx/
Link to v3:
https://lore.kernel.org/all/20260721063412.11588-1-atharvatiwarilinuxdev@xxxxxxxxx/
Link to v2:
https://lore.kernel.org/all/20260721054506.11871-1-atharvatiwarilinuxdev@xxxxxxxxx/
Link to v1:
https://lore.kernel.org/all/20260719180308.1398-1-atharvatiwarilinuxdev@xxxxxxxxx/
Atharva Tiwari (3):
thunderbolt: Shift tb_apple_add_links to pci.c
thunderbolt: Add device links for Apple machines with Titan Ridge
thunderbolt: Add device links for Apple systems with Icelake
thunderbolt
drivers/thunderbolt/pci.c | 119 ++++++++++++++++++++++++++++++++++++++
drivers/thunderbolt/tb.c | 72 +----------------------
drivers/thunderbolt/tb.h | 1 +
3 files changed, 121 insertions(+), 71 deletions(-)
--
2.43.0