Repository navigation
GH-5: M2 Max (J414c, T6021) diffs on top of the R62Y-4 patches - #13
Merged
Merged
Conversation
Kernel: PSCI + PMP device tree for J414c, macsmc wake setup on apple,t6021. Aura: T6021 on the T6020 suspend path, plus the Max-only power words, cluster, IOA enables and memory-cache controllers. Tested on one J414c from a RAM root: two sleeps in one boot, both woke, with display, GPU, SEP, PMP, PCIe and NVMe back. Needs pm_async=0. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 26, 2026
Owner
|
Merged, thank you. One follow-up on main: the macsmc hunk of kernel-t6021-j414c.diff no longer applies to the refreshed J414s diff, and is not needed any more. The machine check and the wake table are gone; the mask address and the wake sources now come from /chosen, which Aura fills from the ADT pmgr ap-wake-sources. I added kernel-t6021-j414c-dts-only.diff and a README note. aura-t6021.diff still applies to the refreshed Aura diff. If your T6021 ADT has ap-wake-sources (the J414s one has 22 entries), the new combination needs no macsmc change; I could not check that on a Max. |
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.
Adds
patches/s2r-repro/t6021/: two diffs that go on top of the M2 Pro diffs, and a README. With them, the R62Y-4 recipe gives a real suspend-to-RAM and wake on a 14-inch M2 Max (J414c, T6021, 12 CPUs). Nothing outside that folder is touched.kernel-t6021-j414c.diff: PSCI + PMP device tree for J414c, andmacsmcsetting WKTP and the wake mask onapple,t6021as onapple,t6020.aura-t6021.diff: T6021 on the T6020 suspend path, plus the Max-only pieces (sixth soc-cluster, dispext2/3 power words, five gate words, two IOA error enables, memory-cache controllers 4-7).No change to the R62Q-R62Y kernel code was needed.
Tested on one J414c from a RAM root, nothing plugged in, on the diffs at
eacbc56(Aura 128): two sleeps in one boot, both woke, with the internal display, GPU, SEP, PMP, PCIe and NVMe back. Details and log lines are in the README.Caveats
echo 0 > /sys/power/pm_asyncbefore sleeping. With the default it hangs during device suspend; cause not known yet.c2b1eac(Aura 129) and Aura builds there, but that combination has not been booted.Refs #5.
🤖 Generated with Claude Code