Repository navigation
pmdomain: opt-in T6000/T8112 PMP and T8112 AVD VMAX - #1020
RyanTheTide wants to merge 7 commits into
Conversation
Admit the T8112 fallback compatible, distinguish required runtime ADT identifiers from static DTS data, and allow the existing T600x PIO address/size arrays. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
Enable PMP with the existing APPLE_USE_PMP consumer graph and expose running status on report providers without sensors. Keep baseline DTs disabled pending hardware qualification. Document every fallback-path input and the original transport configuration, test both board graphs and the distinct t-4501 loader profile, and execute the report-validation KUnit vectors on the host. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
T8112 AVD uses the PMP-v2 SOC-DEV-DVFS entry 0xb0, with a default floor of 2 requesting SOC VMAX. Qualify only that entry in the update aperture. Require a running, non-deferred PMP and acknowledged residency before raising the floor, and withdraw the floor before residency on power-off. Keep a locked, provider-owned whole-word shadow so changing the default floor preserves the other request classes without reading a request entry. Expose the host shadow, residency ACK and the T8112 SOC achieved-state edge packet for safe runtime verification. No request-entry readback is used. Exercise encoding, range limits, other-class preservation, stopped and deferred PMP rejection, ACK timeout and release in arm64 KUnit emulation. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
Constrain the qualified T8112 PMP device DVFS request to entry 0xb0 and floor 2. Document whole-word ownership of the other request classes. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
Attach the existing bit-10 AVD report domain beside the physical core and request SOC VMAX through SOC-DEV-DVFS entry 0xb0. The report's physical parent retains the existing ancestry. Runtime PM releases the performance floor before withdrawing residency, without enabling global PMP domains. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
The report provider now writes provider-owned whole-word DVFS shadows. Mirror those members and GENMASK_ULL in the host boundary so the extracted write function compiles. Extract the DVFS validator when present so newer report entry probes compile too, while retaining older source support. Keep the graph assertions and mutation compilation/runtime checks intact. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
Keep the existing physical AVD domain when APPLE_USE_PMP is absent. The opt-in profile adds the PMP report domain as the performance domain, so a stopped or disabled PMP cannot block ordinary baseline decode. Teach the combined T6000/T8112 profile test about the T8112 core/perf graph and delete the performance-domain name in the legacy loader profile. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
|
t-5403 software receipt refresh for Linux
SHA256 receipts:
The Aura build uses Retained failures: h-48570 source bundle missing; h-48573 source lacked a Makefile; h-49537 synthetic suite passed but default Latest fetched base tips integration/aurora PWR hardware gate remains. Independently qualify M2 J413/T8112 and M1 Pro J316s/T6000 via controller-approved RAM-only one-shots with bootguard fallback and active speaker protection. Require fresh PMP startup/running/ACKs; matched baseline/candidate/post-decode idle-power measurements on both devices; M2 bit-exact H.264/HEVC with measured uplift, active floor 2/residency ACK and idle floor 0/release including unwind; 0 new boot-log warnings; and SELinux enforcing, active audit collection, 0 AVC denials. The integration receipt's config lacks SELinux: PWR must rebuild/receipt the matching enforcing configuration before AVC qualification and use that identical config on both sides of the DT comparison. Verify unchanged persistent hashes and read-only xART ledger after fallback rollback. No reference hardware was used here; both active PRs stay draft. The old kit remains incomplete/unqualified until refreshed against the new source/artifact manifest. |
Superseded by #1064, rebased without force-pushing after the binding conflict. All new-head software receipts and the PWR qualification proposal are posted in the receipt comment. The replacement and paired Aura #88 remain hardware-gated drafts; no merge is authorized.
The original source and review history are retained below for comparison.
Summary
APPLE_USE_PMPprofile while keeping normal board DTs disabled0xb0, request floor 2 only while AVD is active, and release it before residencyAPPLE_USE_PMPis selectedPR #933 is complementary: it enables T6020/J414s using its existing bootloader handoff. It does not supply the missing T6000/T8112 ADT identifiers. A read-only J316s live-DT audit confirmed the existing PMP node has neither required identifier; no value or private DT is included here.
Validation
git diff --check: passSigned-off-byandAssisted-byon every commitapple-pmp*KUnit: h-48338, 32/32 pass (14 startup, 4 T8112 DVFS, 14 report)Hardware gate — do not merge
This is a draft and must remain hardware-gated. The RAM-only kit is staged at
reports/revq-kits/m2-pmp-vmax/outside this repository.Before merge, the tethered J413/T8112 run must prove fresh PMP startup/RTKit registry exchange,
running: 1, ordinary consumer ACKs, unchanged idle policy/thermal behavior, bit-exact H.264 and HEVC with measured (not assumed) 1080p uplift, VMAX floor 2 plus residency ACK only while AVD is active, floor 0 and residency release at idle, and complete fallback rollback with unchanged ESP/xART evidence. Then J316s/T6000 needs its own PMP startup, idle, and rollback qualification.No macOS volume, xART, ESP, persistent boot file, local override, private lab record, or hardware register was written by this PR work.