[PATCH v8 0/3] Add Apple T2 NHI Device links
Atharva Tiwari <[email protected]>
| Newsgroups | org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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/[email protected]/ Link to v6: https://lore.kernel.org/all/[email protected]/ Link to v5: https://lore.kernel.org/all/[email protected]/ Link to v4: https://lore.kernel.org/all/[email protected]/ Link to v3: https://lore.kernel.org/all/[email protected]/ Link to v2: https://lore.kernel.org/all/[email protected]/ Link to v1: https://lore.kernel.org/all/[email protected]/ 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