Repository navigation
arm64: dts: apple: t8112: enable ADT-present peripherals and tunnel PIODMA - #3515
Conversation
…IODMA Describe ADT-present T8112 peripheral blocks as enabled in the shared dtsi files across J413, J415, J473, and J493, and move the USB4 PCIe-C PIODMA engines into their tunnel containers so they populate alongside their tunnel DART when a PCIe tunnel comes up. Specifically: - Move m2_apciec0_piodma and m2_apciec1_piodma into usb4-pcie-tunnel-0/1 in t8112.dtsi as dma@ nodes with status okay, and update adt-coverage/t8112-j413.txt. - Enable DisplayPort input blocks (m2_atc0/1_dpin0/1), fabric tracker (m2_aft), SPMI sideband fault-counter views (m2_*_spmi*_sideband), fpwm0, ProRes/SCDC codecs and their DARTs (m2_apr, m2_dart_apr_0, m2_scdc, m2_dart_scdc) in shared t8112-peripherals.dtsi, dropping the now-redundant J413-only overrides for fpwm0 and spmi-sideband. - Move the shared ATC retimers (retimer@18, retimer@19) to &i2c2 in t8112-jxxx.dtsi with status okay (covering J473 as well as J413/J415/ J493), enable J413's i2c4 avellino controllers, and enable aop_spmi0/ aop_spmi1 and their radio/NFC children across J413/J415/J473/J493. PMP (known M2 CPU memory bandwidth regression), loader-gated nodes (framebuffer, reserved-memory, disp0_dart, sep), CPU cluster PMGR states, and board-absent hardware (J473 panel/ISP/AOP/MTP/Touch ID, unused PCIe ports) stay disabled. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
There was a problem hiding this comment.
Verdict: FINISH, then merge at a1580241
Blockers:
- Queued CI checks (
dt-checks,host-tests,pr-text,readiness) are still pending; wait for green CI. - Missing live J413 + J473 (T8112) DT-only boot + regression rows (queued in
Tested:) and independent maintainer approval before merge.
Checked:
- Clean shared-dtsi DT enablement across T8112 (
t8112.dtsi,t8112-peripherals.dtsi,t8112-jxxx.dtsi, board peripheral files,adt-coverage/t8112-j413.txt) movingm2_apciec0/1_piodmaintousb4-pcie-tunnel-0/1for on-demand population with their tunnel DART. - Local validation clean across all 6
t8112*DTBs (CHECK_DTBS=y0 new warnings,apple-adt-coverage.pyMISSING=0 broken=0,apple-dart-pd-check.py0 new,apple-sibling-drift.py0 new,checkpatch --strict0/0);MERGEABLEonmain, no Apple material, tool attribution, private serials, or single-board gating.
Evidence
- Head:
a1580241b8b9(base: main,mergeable: MERGEABLE,+41/-88across 8 files).
There was a problem hiding this comment.
Verdict: CHANGES REQUESTED at a1580241b8b9
Blockers:
m2_scdc: coprocessor@27e400000(apple,t8112-scdc) is turned on for every T8112 board, but neither the J413 ADT (in-treeadt-coverage/t8112-j413.txt:dart-scdcat 0x27d02c000 only) nor today's live J473 ADT (27.2 mBoot:apr,dart-apr,dart-scdc, noscdcnode) lists an SCDC coprocessor. Ryan's rule cuts both ways: describe what the ADT shows, and keep it off where the ADT lacks it. Please keepm2_scdcdisabled, or cite the ADT node that backs it. Enablingm2_dart_scdcis right:dart-scdcis in both ADTs.- The PR text says the J473 AOP is true hardware absence, but today's live J473 ADT has
aop,dart-aopandadmac-aop-audio. Those should be enabled as on the other T8112 boards (or point to the ADT evidence for absence).
Non-blocking: the classification here also has m2_dart_ave_2/3 and dispext0_1 as loader-gated, but no aura code enables them. Please check whether they belong in this PR as plain enables.
Checked: built all 6 T8112 DTBs at this head and diffed effective status (with ancestors) against main 844781f: 15-18 nodes enabled per board, 0 disabled, the 2 pciec-piodma engines moved into the tunnel containers (the router populates container children after cold init and depopulates on teardown, drivers/thunderbolt/apple.c 1864-1895 / 3347). No UNSAFE node is enabled: pmp@23b500000 stays off (linux#1637). Each enabled node was matched against the ADT verdict table (lab-internal work/dt-complete/part2/VERDICTS.md). The two items above are the only enables or omissions that disagree with the ADT.
Rows: J413 and J473 DT-only trials are owed. The J413 currently has ADT-LIVE's proxy-park marker armed, so its row waits for ADT-LIVE to clear it.
Address review feedback against the J413 and live J473 ADTs: - Keep m2_scdc (coprocessor@27e400000) disabled in shared t8112-peripherals.dtsi: neither the J413 ADT nor the live J473 27.2 ADT has an scdc node (both have dart-scdc, so m2_dart_scdc stays enabled). - Enable aop_mbox, aop_dart, aop_admac, aop, and dpaudio0 in shared t8112.dtsi and drop the redundant per-board status overrides on J413, J415, J473, and J493. J473 has aop, dart-aop, and admac-aop-audio in its ADT while lacking internal microphones, ALS, and lid sensors, so disable aop_audio, aop_als, and aop_las on J473 only. - Enable m2_dart_ave_2, m2_dart_ave_3, and m2_dart_dispext0_1 in shared t8112-peripherals.dtsi (ADT dart-ave reg[2]/[3] and dart-dispext0 reg[1]; not loader-gated). Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Addressed all review items in
Local validation at |
There was a problem hiding this comment.
The revision restores disabled status on the SCDC coprocessor and keeps the independently evidenced DART enabled. AOP enablement moves to the shared T8112 tree; J473 disables only the absent microphone, ALS and lid child devices. The tunnel-local PIODMA move remains intact. The author reports zero new dtschema warnings across all six DTBs and clean DART/power-domain checks. Keep hosted DT and exact J413/J473 boot and smoke rows as landing gates.
|
J413 (T8112, 13.5 OS loader) regression row at The saved control had zero DART probe errors. The trial logged three Restoring the three shared node status declarations leaves the SCDC and AOP changes in place. A local build of that change compiled both DTB variants for each of J413 and J473 with unchanged DTC diagnostics and all three nodes disabled. Both Macs still need the corrected head's hardware rows. |
|
J413 (M2 Air) row at
Why: in the ADTs (live J473 27.2, J413) these addresses are extra Restored and verified: saved fleet89, empty |
The J413 DT-only trial at 7a20e19 hit three apple-dart -ENODEV probe errors ("not a DART translation unit") at 267020000 (m2_dart_ave_2), 267044000 (m2_dart_ave_3), and 271300000 (m2_dart_dispext0_1). These secondary register windows are companion non-translation blocks rather than standalone DART translation units. Restore status = "disabled" on those three nodes in shared t8112-peripherals.dtsi while keeping the validated SCDC, shared AOP, dpaudio0, and tunnel-local PIODMA changes intact. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Pushed |
There was a problem hiding this comment.
The only functional delta restores disabled status for the three secondary DART windows that rejected translation-unit probe on J413. The disable is shared by T8112 and does not alter SCDC, AOP or tunnel-local PIODMA. Author reports no new DT schema or power-domain findings. Source approval at this head. Keep hosted DT and the exact J413/J473 retests as landing gates.
The live M2 J413 DT-only trial on #3515 proved that the secondary AVE (+0x20000/+0x44000) and dispext (+0x300000) companion windows are non-translation blocks where apple-dart fails probe with -ENODEV ("not a DART translation unit"). Restore status = "disabled" on the identical companion windows across t6020-peripherals.dtsi (4), t6021-peripherals.dtsi (8), and t6022-peripherals.dtsi (16): m2_dart_dispext{0..7}_1, m2_dart_ave{0..3}_2, and m2_dart_ave{0..3}_3. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
J413 (M2 Air) row at |
|
Pinging code owners @aurora-silicon/omarchy-mac @aurora-silicon/aurora-maintainers for merge notice at |
|
J473 (M2 mini) row at |
There was a problem hiding this comment.
Verdict: MERGE at 7ac40a3e978a
Blockers: none. Both items from my changes-requested review at a1580241 are fixed: m2_scdc stays disabled (no ADT node), and the J473 AOP group is enabled (present in the live J473 ADT). The three non-translation companion DART windows that the first J413 row caught are back to disabled with a comment. Before landing: CI green.
Checked:
- Effective-status diff of all 6 T8112 DTBs, this head vs main 844781f. Every node it enables is backed by the J413 ADT coverage manifest or the live J473 27.2 ADT, and no UNSAFE node is enabled (
pmp@23b500000stays off, linux#1637). - The pciec-piodma engines move into the tunnel containers, so they populate and depopulate with the tunnel.
- Hardware at this exact head, as DT-only trials on the saved fleet89 kernel: J413 (both DTB variants in the boot image replaced) and J473 (fw27 variant). Each passed the DT node check with 0 fault lines, the fleet smoke row before/during/after, router/tunnel checks and one s2idle cycle, and restored cleanly. Rows are posted on this PR.
- No other family's DTB changes (T8112 files only).
|
J473 (M2 Mac mini) DT-only row at The full trial journal contains three new The lab owner restored saved fleet89 and verified Enforcing, zero failed units, empty |
There was a problem hiding this comment.
The J473 DT-only trial found new apple_aop RTKit probe failures absent from its saved control. The passing DART-specific row and successful boot do not clear the AOP regression. Please identify what J473 needs for AOP to probe cleanly, or leave that unsupported enablement out of this series, and show an exact-head J473 journal differential and restoration. Retain the passing J413 coverage on the revised tree.
Live J473 (M2 Mac mini) hardware boot at 7ac40a3 showed that iBoot does not start AOP firmware on the Mac mini, causing apple_aop (24ac00000.aop) to fail RTKit wake and endpoint discovery with -ETIME (-62). Keep aop, aop_mbox, aop_dart, and aop_admac disabled in t8112-j473.dts while retaining shared AOP enablement in t8112.dtsi for the M2 laptops (J413, J415, J493). Both J413 DTBs remain byte-for-byte identical to the passed 7ac40a3 head. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
|
Pushed Verified locally:
|
|
J413 (T8112) hardware carry at Both J473 variants now describe all four AOP-related nodes as disabled, matching the saved AOP configuration. The guarded J473 retest remains to run. J316s (T6000) unaffected-family control also carries. I rebuilt the combined #3514 The full J413 kernel journals show AOP ready and zero AOP probe errors on both the saved control and the passing trial. The trial completed its RTC wake with one success and zero failures. |
There was a problem hiding this comment.
Verdict: FINISH, then merge at cbb4c430
Blockers:
- Hosted CI at
cbb4c430(dt-checks,host-tests,pr-text,readiness) is currentlyQUEUED; wait for green CI. - Exact-head J473 (M2 Mac mini) DT-only boot + journal-differential retest at
cbb4c430confirming zeroapple_aopprobe errors and clean restoration (to clear the prior7ac40a3echanges-requested review), plus independent maintainer approval before merge.
Checked:
- Verified
cbb4c430d9inarch/arm64/boot/dts/apple/t8112-j473.dts: cleanly disables&aop_mbox,&aop_dart,&aop_admac, and&aopon Mac mini (where iBoot does not start AOP firmware andapple_aoppreviously failed RTKit wake with-ETIME/-62), while keeping shared AOP enablement int8112.dtsifor the M2 laptops (J413,J415,J493). - Verified in
t8112.dtsi(L1741-L1763) thataop_audio,aop_als, andaop_lasare direct child nodes of&aop, so disabling&aopcleanly prevents any AOP child devices from probing on J473. - Non-J473 DTBs (including
t8112-j413.dtbandt8112-j413-fw27.dtb) are untouched and remain byte-identical to the passed7ac40a3eJ413 trial.
Evidence
Risk:two-way · T8112present.- Minor body nit (non-blocking): once the exact-head
cbb4c430J473 retest lands, refresh theTested:/Not yet:head SHA and J473 AOP description in the PR body (currently still referencing7ac40a3e978a00and J473 AOP child disables).
|
Merge notice for @aurora-silicon/omarchy-mac and @aurora-silicon/aurora-maintainers at |
There was a problem hiding this comment.
Verdict: MERGE at cbb4c43 once hosted checks pass.
Checked: This is a J473 DT-only correction. The four AOP components return to disabled on the desktop where the prior trial saw RTKit probe failures. Both previously qualified J413 DTBs are byte-identical. The exact J473 retest confirms all four nodes disabled, zero AOP probe errors or DART faults, USB4 and RTC passing, and verified saved-boot restoration.
This updates the existing source approval after the requested hardware receipt. Keep required hosted checks and the repository's merge requirements.
|
J473 (T8112) exact hardware row at
The J413 target and J316s unaffected-family rows carry to this head through DTB parity. |
|
Merging under the 6-point rule at |
What: Enable ADT-present peripheral blocks across T8112 (J413, J415, J473, J493) in the shared dtsi files and move the USB4 PCIe-C PIODMA engines (
m2_apciec0_piodma,m2_apciec1_piodma) intousb4-pcie-tunnel-0/1so they populate on demand with their tunnel DART.Tested: Head
cbb4c430d9fdfa(J473 Mac mini AOP disabled following live J473 RTKit-ETIMEfinding; both J413 DTBs byte-for-byte identical to passed7ac40a3e978aJ413 DT-only boot row; 139/139 Apple DTBs build cleanly,CHECK_DTBS=y166 vs 185 baseline = 0 new,checkpatch --strict0/0/0). Prior full DT validation at7ac40a3e978a00across all 6t8112*DTBs (t8112-j413,t8112-j413-fw27,t8112-j415,t8112-j473,t8112-j473-fw27,t8112-j493):CHECK_DTBS=y(dtschema 2026.9) 185 base / 185 head / 0 new warnings;apple-adt-coverage.py(t8112-j413) MISSING=0 broken=0;apple-dart-pd-check.py4 base / 4 head / 0 new;apple-sibling-drift.py60 / 0 new;checkpatch.pl --strict0 errors / 0 warnings. The earlier J413 trial at7a20e1942c2fidentified the three companion DARTs now restored to disabled.cbb4c430d9fd— PASS on the saved fleet89 kernel. All four AOP nodes stayed disabled, with zero AOP errors, DART faults, AVCs or deferred probes. USB4 2/2, RTC wake 1/1 and saved-boot restoration passed. Exact J473 rowcbb4c430d9fd— PASS by DTB identity with the passing guarded J413 row. J316s (T6000) unaffected-family smoke also carries by DTB identity. J413 and J316s artifact verificationRisk: two-way · T8112 (M2 MacBook Air 13"/15", Mac mini, MacBook Pro 13"). Most newly enabled nodes have no matching Linux driver (
dpin,aft,atcrt,avellino,t8112-prores,radio-pmu,spmi-peripheral,spmi-nfc) or populate only on USB4 PCIe tunnel activation (m2_apciec0/1_piodma);m2_*_spmi*_sideband(apple-regview) andfpwm0are already enabled on J413;m2_dart_apr_0andm2_dart_scdcuse already-enabled PMGR power domains and probed cleanly on J413;dpaudio0is already enabled on J473. The J473 AOP, mailbox, DART and ADMAC retain their saved disabled status.Not yet: Required hosted CI remains queued.
Revert:
git revert <merge-sha>cleanly restores all modifiedarch/arm64/boot/dts/apple/t8112*files andadt-coverage/t8112-j413.txt; no on-disk or firmware state is modified.Before you request review
t8112).checkpatch.pl --strict,CHECK_DTBS=y,apple-adt-coverage.py,apple-dart-pd-check.py, andapple-sibling-drift.py.Details
Enabled blocks (shared dtsi first)
t8112.dtsi,t8112-peripherals.dtsi,adt-coverage/t8112-j413.txt):m2_apciec0_piodmaandm2_apciec1_piodmaintousb4_0_pcie_tunnelandusb4_1_pcie_tunnelasdma@nodes withstatus = "okay", matching the ADT manifest paths.t8112.dtsi,t8112-peripherals.dtsi,t8112-j{413,415,473,493}.dts):aop_mbox,aop_dart,aop_admac,aop, anddpaudio0in sharedt8112.dtsi, dropping redundant per-boardstatus = "okay"overrides. Ont8112-j473.dts(desktop Mac mini with no internal mics, ALS, or lid),aop_audio,aop_als, andaop_lasare explicitly disabled.m2_atc0/1_dpin0/1,m2_aft,m2_*_spmi*_sideband,fpwm0,m2_apr,m2_dart_apr_0, andm2_dart_scdcin sharedt8112-peripherals.dtsi, dropping the redundant J413-only overrides forfpwm0andspmi-sideband.t8112-jxxx.dtsi,t8112-j413.dts,t8112-j{415,473,493}-peripherals.dtsi):retimer@18andretimer@19(apple,t8112-atcrt) into shared&i2c2int8112-jxxx.dtsiwithstatus = "okay"(present in both J413 and J473 ADTs at@0x18/@0x19).i2c4avellino@44/avellino@77and enabledaop_spmi0/aop_spmi1with their ADT children across J413, J415, J473, and J493.Intentionally kept disabled
pmp@23b500000+pmp_reportentries (known ~70% CPU memory bandwidth regression on M2, T8112: run the PMP with the CPU and ANE memory and fabric floors (opt-in) #1637).m2_scdc(coprocessor@27e400000): absent in both J413 and live J473 ADTs (whilem2_dart_scdcis present in both and stays enabled).m2_dart_ave_2(iommu@267020000),m2_dart_ave_3(iommu@267044000),m2_dart_dispext0_1(iommu@271300000): companion non-translation DART windows (apple-dartprobes-ENODEV: not a DART translation uniton live J413).reserved-memory/{globals,hw-cal-a,hw-cal-b},/chosen/framebuffer@0,disp0_dart,sep.t8112-peripherals.dtsipower-controller@{0..48}).Evidence
Disabled node counts (base
844781f1b56b-> head7ac40a3e978a00, total -112):t8112-j413: 56 -> 39 (-17)t8112-j413-fw27: 56 -> 39 (-17)t8112-j415: 60 -> 40 (-20)t8112-j473: 71 -> 51 (-20; includes 3 newly disabled desktop-absent AOP childrenaop_audio/aop_als/aop_las)t8112-j473-fw27: 71 -> 51 (-20)t8112-j493: 55 -> 37 (-18)Local validation at
7ac40a3e978a00:CHECK_DTBS=yacross all 6t8112*.dtb: 185 base / 185 head / 0 new warningsapple-adt-coverage.py --board t8112-j413:MISSING=0 mapped=401 waived=213 broken=0 total=614apple-dart-pd-check.py: 4 base / 4 head / 0 newapple-sibling-drift.py: 60 / 0 newcheckpatch.pl --strict: 0 errors, 0 warnings, 0 checks