Repository navigation
Conversation
Contributor
|
This conflicts with integration/aurora now that #1923 is in: both edit t8142-j813.dts. Please rebase. With the change applied, the DTBs of every board other than J813 build byte-identical. |
T8142 has the same per-cluster power-gate enable words as T8132 and T8140. Assisted-by: Claude Fable 5.2 Signed-off-by: Kyle Arrington <kyle@arrington.co>
iBoot leaves the boot core's power-gate enable (P core 0, /arm-io/pmgr reg[34] + 0x60) clear on T8142, so the boot core never powers down in WFI. The node lists the E and P clusters' first words, which apple-cluster-pwrgate sets early in boot. T8132 and T8140 describe the same words; there they are enabled for deep sleep, here for idle power. Tested on a J813 (MacBook Air 13" M5, firmware 27.0), same kernel with and without the node, on battery, SMC PSTR: - PCPU_0's power state word reads off in idle with the node, on without it; - screen off, idle: 2.72 W without, 2.54 W with (12 samples each); - screen on, idle: 3.93 W without, 3.83 W with (3 samples each). All 10 cores come up and the system runs as before. The register layout is from m0d16l14n1's J815 sleep work (m0d16l14n1#1). Assisted-by: Claude Fable 5.2 Signed-off-by: Kyle Arrington <kyle@arrington.co>
gig3m
force-pushed
the
j813/t8142-cluster-pwrgate
branch
from
November 17, 2026 13:14
fa83d76 to
4001da2
Compare
Contributor
Author
|
Closing: #2135 carried this into 🤖 Generated with Claude Code |
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.
iBoot leaves the P cluster's power-gate enable clear on T8142, so the boot core (P core 0) never powers down in WFI. T8132 and T8140 already describe these words for
apple-cluster-pwrgate; this adds the T8142 compatible and the J813 node.Tested on a J813 (MacBook Air 13" M5, fw 27.0), same kernel with and without the node, on battery, SMC PSTR:
All 10 cores come up, and the P cluster still reaches 4464 MHz under load after idling.
Not tested: J815, J704.
If this lands together with the DCP DPMS series,
display-power@380724000andpower-gate@380724000share a unit address (W=1 warning only; the words do not overlap).@m0d16l14n1 the register layout is from your J815 tree. The same node should apply to the J815; I only have a J813 to test on.
Assisted-by: Claude Fable 5.2