Linux Integrity Measurement development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add Apple T2 NHI device links
@ 2026-07-21  6:34 Atharva Tiwari
  2026-07-21  6:34 ` [PATCH v3 1/2] treewide: Add a flag to detect the Apple T2 chip Atharva Tiwari
  2026-07-21  6:34 ` [PATCH v3 2/2] thunderbolt: Add device links for Apple T2 NHI Atharva Tiwari
  0 siblings, 2 replies; 6+ messages in thread
From: Atharva Tiwari @ 2026-07-21  6:34 UTC (permalink / raw)
  Cc: Atharva Tiwari, Bjorn Helgaas, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, x86, H. Peter Anvin, Andreas Noever,
	Mika Westerberg, Yehezkel Bernat, Hans de Goede,
	Ilpo Järvinen, Jarkko Sakkinen, Mimi Zohar, Roberto Sassu,
	Dmitry Kasatkin, Eric Snowberg, Paul Moore, James Morris,
	Serge E. Hallyn, linux-pci, linux-kernel, linux-usb,
	platform-driver-x86, linux-integrity, keyrings,
	linux-security-module

This series adds a cached flag to detect Apple T2 systems, then uses it
to create device links for the Thunderbolt NHI.

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 v2:
https://lore.kernel.org/all/20260721054506.11871-1-atharvatiwarilinuxdev@gmail.com/

Link to v1:
https://lore.kernel.org/all/20260719180308.1398-1-atharvatiwarilinuxdev@gmail.com/

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 +
 .../platform_certs/keyring_handler.h          |   8 --
 security/integrity/platform_certs/load_uefi.c |  38 ++-----
 5 files changed, 168 insertions(+), 39 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-21 15:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21  6:34 [PATCH v3 0/2] Add Apple T2 NHI device links Atharva Tiwari
2026-07-21  6:34 ` [PATCH v3 1/2] treewide: Add a flag to detect the Apple T2 chip Atharva Tiwari
2026-07-21 10:57   ` Jarkko Sakkinen
2026-07-21 15:29   ` Hans de Goede
2026-07-21  6:34 ` [PATCH v3 2/2] thunderbolt: Add device links for Apple T2 NHI Atharva Tiwari
2026-07-21  9:03   ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox