From 87410751f4dd6b3a6ccb1bc99732fe76cc663f49 Mon Sep 17 00:00:00 2001 From: Erik Bourget Date: Sun, 15 Nov 2026 22:59:54 -0500 Subject: [PATCH 1/2] iommu/apple-dart: v27: the display DART leases on the J716c The display DARTs' lease admission for the firmware 27 sleep served the J714s only. The J716c has the same display DARTs at the same addresses: admit it too, on a machine that is both apple,j716c and apple,t6050. Developed with Claude Code. Signed-off-by: Erik Bourget --- drivers/iommu/apple-dart-v27-admission.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/apple-dart-v27-admission.inc b/drivers/iommu/apple-dart-v27-admission.inc index 21d9479e594fb..906be5ef222ef 100644 --- a/drivers/iommu/apple-dart-v27-admission.inc +++ b/drivers/iommu/apple-dart-v27-admission.inc @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +/* Track real clients from probe; lease acquisition still validates every owner. */ static bool apple_dart_v27_provider(struct device *dev, resource_size_t base) { static const resource_size_t ids[] = { @@ -9,7 +10,9 @@ static bool apple_dart_v27_provider(struct device *dev, resource_size_t base) unsigned int i; if (!IS_ENABLED(CONFIG_APPLE_SOC_SLEEP) || - !of_machine_is_compatible("apple,j714s") || + !(of_machine_is_compatible("apple,j714s") || + (of_machine_is_compatible("apple,j716c") && + of_machine_is_compatible("apple,t6050"))) || !of_device_is_compatible(dev->of_node, "apple,t6050-dart")) return false; for (i = 0; i < ARRAY_SIZE(ids); i++) From 5a72f3765353f8bd5aebf1972ef00c4edd100ead Mon Sep 17 00:00:00 2001 From: Erik Bourget Date: Sun, 15 Nov 2026 23:52:42 -0500 Subject: [PATCH 2/2] iommu/apple-dart: cio: the USB4 router's DARTs sleep in place on the J716c The J716c's right-port USB4 router sleeps in place as the J714s's does, with the same NHI and tunnelled-PCIe DARTs. Apply the J714s's handling of those DARTs to the J716c too. Developed with Claude Code. Signed-off-by: Erik Bourget --- drivers/iommu/apple-dart-cio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/apple-dart-cio.c b/drivers/iommu/apple-dart-cio.c index 7d047b25254af..7e25682d7d113 100644 --- a/drivers/iommu/apple-dart-cio.c +++ b/drivers/iommu/apple-dart-cio.c @@ -397,7 +397,8 @@ static bool apple_dart_cio_atc_port(struct apple_dart *dart) { struct device_node *parent = dart->dev->of_node->parent; - return parent && of_machine_is_compatible("apple,j714s") && + return parent && (of_machine_is_compatible("apple,j714s") || + of_machine_is_compatible("apple,j716c")) && (of_device_is_compatible(parent, "apple,t6050-usb4-acio") || of_node_name_prefix(parent, "pcie-tunnel-")); }