Repository navigation
arm64: dts: apple: t602x: give the first ANE DART its power domain - #1694
DjDeveloperr wants to merge 1 commit into
Conversation
ane_dart0 names the always-on ps_pmp, while the M2 device trees (macOS 27.2.1: J414s, J414c, J475d) give dart-ane0 the ANE-SYS-DART vote, parent ANE_SYS, and the engine votes ANE-SYS-V. The M1, M1 Pro/Max/Ultra and M2 ANE DARTs at the same place already name ps_ane_sys. With ps_pmp, nothing powers ANE_SYS before ane_dart0 probes. It is the first of the three ANE DARTs, and only ane_dart1 and ane_dart2 (ps_ane_cpu, a child of ps_ane_sys) bring ANE_SYS up. Its first register read then depends on the loader having left ANE_SYS on. When the loader has not, the read takes an SError and panics the boot in apple_dart_readl, as the T8132 scaler and JPEG DARTs did. Name ps_ane_sys. After probe nothing changes: ane_dart1 and ane_dart2 already hold ANE_SYS on. The ANE and its DARTs are enabled on the M2 Pro and M2 Max (J414s, J416s, J474s, J414c, J416c, J475c), where ane_dart0 binds today with ps_pmp. This change is build-checked only. Fixes: 49d05bc ("arm64: dts: apple: t602x: Add the die 0 ANE") Signed-off-by: Diljit Singh <[email protected]>
|
Looks good; approve once one M2 Pro or M2 Max boots it.
HW row: J414s/J416s/J474s (M2 Pro) or J414c/J416c/J475c (M2 Max), integration/aurora with this DTB, booted the way the fleet boots with a dead-man. Pass if 285800000.iommu probes, the ANE binds and a ANE job (or the driver's self-test) runs, a runtime suspend/resume cycle of the ANE works with no DART fault, there is no SError, and the run has 0 AVC denials, 0 failed units and no new kernel errors against the same kernel without the change. Assisted-by: LLM (Claude:Opus 5.5) |
|
integration/aurora (110861f) still has power-domains = <&ps_pmp> on ane_dart0 in t602x-die0.dtsi, and neither #1676 nor #2261 changed it, so this one-line change is still needed. It applies cleanly to 110861f. What's missing is one boot on an M2 Pro or M2 Max (J414s, J416s, J474s, J414c, J416c or J475c): 285800000.iommu probes, the ANE binds, no SError. Build check of 110861f plus this change (arm64, LLVM=1, Image, dtbs and every directory it touches, Fedora config plus asahi.config): builds, no warnings in the files it touches; CHECK_DTBS over every Apple DTB: no new warnings against the tip. |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: HOLD at 97626fe0
Blockers:
- Missing T602x (M2 Pro / M2 Max) boot verification at
97626fe0. Changingane_dart0'spower-domainson a board wheret6021.dtsienables ANE can trigger a boot SError if the domain wiring differs from expectation. Please post a boot row on any T602x machine (J414s,J416s,J474s,J414c,J416c, orJ475c) confirming285800000.iommuprobes cleanly, ANE binds, and zero SErrors occur.
Checked:
- 1-line diff (
arch/arm64/boot/dts/apple/t602x-die0.dtsi:26:<&ps_pmp>-><&ps_ane_sys>),MERGEABLEagainstmain. - Matches M1
t600x-die0.dtsi:56andps_ane_cpu's parentps_ane_sys(t602x-pmgr.dtsi).
Evidence
- Code change is minimal and sound; strictly awaiting one T602x hardware boot row at
97626fe0.
There was a problem hiding this comment.
Verdict: MERGE at 97626fe0b103
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: - 1-line diff (arch/arm64/boot/dts/apple/t602x-die0.dtsi:26: <&ps_pmp> -> <&ps_ane_sys>), MERGEABLE against main.
- Matches M1
t600x-die0.dtsi:56andps_ane_cpu's parentps_ane_sys(t602x-pmgr.dtsi).
Follow-ups (not blocking): one T602x boot row (DART probe, ANE binds, no SError)
Split out of #1676, which carried this commit alongside four other DART power-domain fixes. The rest of #1676 can merge without it; this one waits for a T602x boot.
ane_dart0(iommu@285800000) names the always-onps_pmp. The M2 Pro/Max device trees givedart-ane0the ANE-SYS-DART vote under ANE_SYS, and the M1-family ANE DARTs at the same place already nameps_ane_sys. Withps_pmp, nothing powers ANE_SYS beforeane_dart0probes: onlyane_dart1andane_dart2(ps_ane_cpu, a child ofps_ane_sys) bring it up. The first register read then depends on the loader having left ANE_SYS on, and if it hasn't,apple_dart_readltakes an SError and the boot panics. This change namesps_ane_sysinstead.This has only been build-checked.
Needs one boot
Please boot this on any one of J414s, J416s, J474s, J414c, J416c or J475c and check that:
285800000.iommuprobes cleanly (no probe error indmesg)Not yet