Repository navigation
arm64: dts: apple: t8132-j773g: don't use the managed radio contract - #3098
Merged
Merged
Conversation
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 <[email protected]>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
satchlj
approved these changes
Nov 24, 2026
satchlj
left a comment
Member
There was a problem hiding this comment.
Verdict at a80960cf3279
APPROVE — Clean, tightly scoped J773g DTS fix matching the observed unconfigured radio DART handoff, with green CI and complete exact-head J773g Wi-Fi and s2idle verification.
Blockers
None.
Checked
- Changed files (1): Audited the full 17-line diff in
arch/arm64/boot/dts/apple/t8132-j773g.dts. Deleting the inherited J713 managed-radio properties (apple,managed-sids,apple,sid16-page,apple,dma-rangeon&dart_apcie0;apple,managed-sidson&pcie0) matches the Stage 2 radio DART register state (TCR = 0x1translate with TTBR valid clear,ENABLE_STREAMS = 0) so Linux owns and resets490000000.iommuand trains port 0 directly while keepingiommu-mapintact and leaving the other 5 T8132 DTBs byte-identical. - Hardware evidence: Reviewed exact-head J773g boot and
s2idlerow (490000000.iommubound with 0-EBUSY,pcie0link up in 4 ms,brcmfmac/wld00% ping loss,s2idle1/1 with clean Wi-Fi reconnect, 0 failed units, 0 BUG/Oops/WARNING/SError/DART faults). - Metadata & CI:
4/4CI checks passing (dt-checks,host-tests,readiness,pr-text: allSUCCESS); commit carries authorSigned-off-by:. - Untested scope: No live J773g boot performed during this review; verified by full diff audit, CI results, and author hardware transcript.
Evidence
- Head commit:
a80960cf3279(1 file changed:arch/arm64/boot/dts/apple/t8132-j773g.dts). - CI:
4/4SUCCESS(dt-checks,host-tests,readiness / readiness,pr-text / pr-text).
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Drop the inherited J713 managed-radio DT properties (
apple,managed-sids,apple,sid16-page,apple,dma-rangeon&dart_apcie0, andapple,managed-sidson&pcie0) inarch/arm64/boot/dts/apple/t8132-j773g.dts.On J773g (
T8132, Mac mini M4), live Stage 2 register reads of the radio DART (490000000.iommu, right afterpcie_initbeforekbooton 27.2 /26B123) show the boot chain hands the DART over completely unconfigured: all 19 streams haveTCR = 0x1(translate) with TTBR valid clear,ENABLE_STREAMS = 0, and error/protect/TLB-busy clear. Becauseapple_dart_managed_admit()only admits SID16 in static bypass or disabled (TCR = 0),490000000.iommufails probe with-EBUSY(-16),pcie0defers indefinitely, and Wi-Fi (brcmfmac/wld0) never comes up (same-16on 26.6.2).Dropping those four properties lets Linux reset and own
490000000.iommuand train port 0 itself. All five other T8132 DTBs (j604,j623,j624,j713,j715) are byte-identical.Related:
#1898includes this same J773g radio hunk alongside port-2 Ethernet; splitting the Wi-Fi fix out unblocksmainboots on J773g independently while#1898resolves its Ethernet review points.Tested
T8132), macOS 27.2 (26B123), Aura Stage 1 b13g5dcf6→ Stage 21.0.0b14-g8b3ba98e(aura#383).a80960cf3279f7fb6c2d41c6dde532e924905d58(t8132-j773g.dtbsha25601fedddb6cd1b42337c28079bf59704131ecec49cf9c1c8160a5a621d06b86bc), booted with7.3.0-ARCH-pr2776(origin/main645f7cd3589d+#2776, whose DTB differed froma80960cfby only these four deleted properties).apple-dart 490000000.iommubound cleanly (0-16/EBUSY, 0 port-0 deferrals),pcie-apple 1cb0000000.pcieport 0 link up in 4 ms,brcmfmac 0000:01:00.0 wld0connected over Wi-Fi (0% ping loss).rtcwake -d /dev/rtc1 -m freeze -s 10,suspend_statssuccess0 -> 1),wld0reconnected cleanly after wake (0% ping loss).display-manageractive, 0 failed systemd units,/lib -> usr/lib, 0 BUG/Oops/WARNING/SError/DART faults, 0 new error-level lines vs baseline (the 2 USBgenpd_prepare returns -11lines on s2idle match existing J773g baseline).checkpatch0 errors / 0 warnings;dt-schema0 new warnings; all 5 other T8132 DTBs byte-identical.Risk
Scoped strictly to
t8132-j773g.dts. Other T8132 boards (j604,j623,j624,j713,j715) produce byte-identical DTBs and cannot regress.Not yet
mem), Bluetooth (missing calibration blob on this unit), port-2 Ethernet (#1898), and cold boot from full power-off were not exercised in this row.j623,j624iMacs) are untouched until tested on hardware.