From a80960cf3279f7fb6c2d41c6dde532e924905d58 Mon Sep 17 00:00:00 2001 From: Diljit Singh Date: Tue, 24 Nov 2026 18:11:04 -0500 Subject: [PATCH] arm64: dts: apple: t8132-j773g: don't use the managed radio contract The J773g gets the J713's managed radio contract from t8132-jxxx.dtsi: apple,managed-sids on dart_apcie0 and pcie0. Under it the DART admits the radio's streams only if the boot chain left SID16 in its static bypass, or disabled with no valid root. This Mac hands its radio DART over unconfigured. Read in aura's Stage 2 proxy right before kboot, on the 27.2 system firmware (26B123), all 19 streams have TCR 0x1 (translate) with no valid TTBR, ENABLE_STREAMS is 0, and there are no errors, exceptions or masked errors. SID16 is in neither admitted state, so apple_dart_managed_admit() returns -EBUSY: 490000000.iommu fails probe with -16, port 0 defers forever and there is no Wi-Fi. The same -16 shows on the 26.6.2 firmware. Drop the contract on this board. apple,sid16-page applies only under it, so drop it too, with the DART's apple,dma-range window. Linux then resets and owns the radio DART and trains port 0 itself, as on a port without the contract. The iommu-map is unchanged. Only the J773g DTB changes. The J604, J623, J624, J713 and J715 DTBs are byte-identical. Signed-off-by: Diljit Singh --- arch/arm64/boot/dts/apple/t8132-j773g.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8132-j773g.dts b/arch/arm64/boot/dts/apple/t8132-j773g.dts index 2a8ca64d3a638..9e92081da8b59 100644 --- a/arch/arm64/boot/dts/apple/t8132-j773g.dts +++ b/arch/arm64/boot/dts/apple/t8132-j773g.dts @@ -259,6 +259,23 @@ brcm,board-type = "apple,sakhalin"; }; +/* + * This Mac hands its radio DART over unconfigured: every stream translates + * with no valid root and none is enabled. The managed radio contract only + * admits a SID16 left in its static bypass or disabled, so the DART would + * refuse the handover (-EBUSY) and port 0 would never probe. Linux owns the + * radio DART and trains port 0 itself instead. + */ +&dart_apcie0 { + /delete-property/ apple,managed-sids; + /delete-property/ apple,sid16-page; + /delete-property/ apple,dma-range; +}; + +&pcie0 { + /delete-property/ apple,managed-sids; +}; + #include "hwmon-common.dtsi" #include "hwmon-mini.dtsi"