Repository navigation
arm64: dts: apple: t6002: enable PMP on M1 Ultra - #2164
Conversation
|
Cross-check verdict: GREEN at head 80f93d5 (base dcce0e7, integration tip). Reviewed by a GLM-family reviewer; the patch is byte-identical to the 94cbeb2331a6 commit that was reviewed line by line (verified: the only patch-text deltas are the commit hash and the blob-index line), rebased onto the integration tip with no adaptation. The change is one file, +7 lines: #define APPLE_USE_PMP in t6001-j316c.dts before the includes.
Undraft gates: the DTS alone enables nothing (m1n1 performs the enablement), and the promised s2idle suspend/resume plus idle-power numbers are still pending, so boot plus resume evidence should land before this leaves draft. Author identity and single-commit hygiene are correct. |
|
Thanks. Two points.
If an M1 Max Mac Studio or an M1 Ultra owner can add one boot with the same PMP lines and three sleeps, that covers the rest of the family. |
Enable the PMP in the T6001 and T6002 includes. T6000 inherits the T6001 definition. Drop the two board-level definitions. Only die 0 has a PMP report entry for AVD. Keep the existing PMGR domain for die 1, which has no report entry. All six board DTBs compile. The two existing M1 Pro DTBs are byte-identical to the base DTBs. Signed-off-by: Joshua Warren <[email protected]>
|
The define moved into the SoC includes. It now sits next to
Verification compiled base and candidate with the in-tree dtc. The T6000 boards are byte-identical to their integration DTBs: j314s Point 2: queued. The rows you listed run on our J316c against the reshaped head as soon as it lands on this PR. That is three real s2idle cycles with display, Wi-Fi and USB checked after each. Then four minutes of SMC total power per arm, PMP off and on. Then the ANE workload re-measured on the current base. The PR stays draft until they pass. |
80f93d5 to
b2e8324
Compare
|
Thanks. Your reasoning on The reshape isn't on the PR yet, though. The head is still 80f93d5, which only adds Once it is pushed, the define in |
|
The reshape is now on this PR at The PR stays in draft until we have the J316c hardware results. An M1 Ultra boot with the PMP ready line and three sleep cycles would cover that board separately. |
|
We do not have an M1 Ultra here, so that boot cannot come from us. The ask stays open for a Mac Studio M1 Ultra owner. |
|
Thanks, b2e8324 is what we asked for. The define sits in Left:
Understood on the M1 Ultra. That ask stays open for a Mac Studio owner. |
|
|
Thanks, title and body now match the T6001/T6002 scope, and the offline DTB comparison plus the J375d die-0/die-1 AVD resolution cover what we can check without the hardware. From here it waits only on the J316c rows in your queue and one M1 Ultra boot from a Mac Studio owner. |
|
Acknowledged. The J316c matched rows are queued: package verification against the exact head first, then the hardware slot. The M1 Ultra ask stays open for a Mac Studio owner. |
|
I measured the PMP-off side on a 16-inch M1 Max (J316c) running I sampled SMC Total System Power once a second for four minutes (241 readings). With AC power and the internal panel at 86/500 brightness, it averaged 26.61 W (median 20.22 W, range 19.23–65.26 W). The desktop was in use with no benchmark running. The GPU busy counter advanced for 52.2% of the interval. I also built the J316c DTB at |
|
@joshuaswarren checking open drafts today. To come out of draft, this still needs:
If it's no longer needed, say so here and we'll close it. Otherwise it stays open as a draft until these are done. |
T6001 (M1 Max) is covered by aurora-silicon#3401, which adds the DRAM OPP table, CPU memory floor, and media report entries on top of APPLE_USE_PMP. Drop the T6001 define and restore the two T6000 board defines so this PR touches only T6002 (M1 Ultra) and the die-1 AVD fallback. Signed-off-by: Joshua Warren <[email protected]>
|
T6001 (M1 Max) is covered by #3401, which adds the DRAM OPP table, CPU memory floor, and media report entries on top of |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
There was a problem hiding this comment.
Verdict: FINISH, then merge at 290a761e
Blockers:
- Missing live M1 Ultra (
T6002/J375d) hardware boot row at290a761e(currently compile-tested only, as noted inTested:), confirming PMP probes cleanly and die-1 AVD stays functional onps_avd_sys_die1. - Queued CI checks (
dt-checks,host-tests,pr-text,readiness) are still pending; wait for green CI.
Checked:
arch/arm64/boot/dts/apple/t6002.dtsi&t600x-dieX.dtsi: clean 5-line DT change definingAPPLE_USE_PMPfort6002.dtsiand scoping&pmp_report_avd_systoDIE_NO == 0so die 1 keeps&DIE_NODE(ps_avd_sys)(sincet6002.dtsihas no die-1 AVD PMP report entry), leaving all T6000 and T6001 DTBs byte-identical.- Checked for Apple material, tool attribution, private serials, and board gating: clean; human
Signed-off-bypresent;MERGEABLEonmain.
Evidence
- Head:
290a761e63e8(base: main,mergeable: MERGEABLE,+5/-2across 2 files).
|
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: MERGE at 290a761e63e8
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: - arch/arm64/boot/dts/apple/t6002.dtsi & t600x-dieX.dtsi: clean 5-line DT change defining APPLE_USE_PMP for t6002.dtsi and scoping &pmp_report_avd_sys to DIE_NO == 0 so die 1 keeps &DIE_NODE(ps_avd_sys) (since t6002.dtsi has no die-1 AVD PMP report entry), leaving all T6000 and T6001 DTBs byte-identical.
- Checked for Apple material, tool attribution, private serials, and board gating: clean; human
Signed-off-bypresent;MERGEABLEonmain.
Follow-ups (not blocking): M1 Ultra J375d boot row, queued CI
|
Merging at |
What: Define
APPLE_USE_PMPint6002.dtsiso the boot loader exposes/aliases/pmp = &pmpand enables the PMP on M1 Ultra (J375d). Int600x-dieX.dtsi, gate AVD's PMP report domain toDIE_NO == 0so die 1 keeps its PMGR power domain (ps_avd_sys_die1), becauset6002.dtsihas no die-1 AVD PMP report entry. T6001 (M1 Max) is covered separately by #3401, and all five T6000 and T6001 DTBs are byte-identical tomain.Tested: Compile-tested only at
290a761e63e8. All sixt600*DTBs build cleanly withW=1; all five T6000 and T6001 DTBs matchmainbyte for byte; decompiledt6002-j375d.dtbverifies/aliases/pmp = "/soc@200000000/pmp@28e700000", die-0 AVD bound topmp_report_avd_sys, and die-1 AVD kept onps_avd_sys_die1.checkpatch.plreports 0 errors and 0 warnings.Risk: two-way · M1 Ultra (J375d)
Not yet: No J375d (M1 Ultra) hardware boot or s2idle cycle has been run (we do not have an M1 Ultra). Needs a J375d boot confirming
PMP manages fabric and DCS p-statesand three s2idle cycles before merge.