Repository navigation
Revert #3668: resets the M1 Pro (T6000) at s2idle - #3886
Merged
Merged
Conversation
… sync_state" This reverts commit eb64ee5. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
…e-clockgated" This reverts commit 1d9a2ac, reversing changes made to its first parent. It resets the 14-inch M1 Pro MacBook Pro (J316s, T6000) at the first s2idle cycle: the boot's journal ends mid-suspend with nothing logged and the Mac restarts. Reproduced three times on one-shot boots (main a171afd with #3668's head, the same tree plus #3689, and main cf03d96, which also has eb64ee5); the same tree with #3668 reverted suspends and wakes 2/2, as does the older saved kernel. Revert both until a version that keeps the T6000 sleep path powered is shown on that Mac. Rows and the A/B are on #3668. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
satchlj
approved these changes
Dec 2, 2026
satchlj
left a comment
Member
There was a problem hiding this comment.
Clean revert of #3668 and eb64ee5 (pmgr-pwrstate.c and pmgr-inherited.py match pre-#3668 state, Signed-off-by intact, clear A/B evidence on J316s). Good to merge for today's edge cut; once the J316s dyndbg list of gated domains is available, we can rework #3668 so the T6000 sleep-path domain stays untouched.
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.
What: Revert #3668 (gate boot-left clock-gated pmgr domains at
sync_state) and its follow-up eb64ee5. With them, the 14-inch M1 Pro MacBook Pro (J316s, T6000) resets at the first s2idle cycle. Regression revert, same day as the failure was reproduced on current main.Tested: J316s one-shot boots on the default command line, saved Stage 2 unchanged, s2idle via
rtcwake -d rtc1 -m mem -s 15:cf03d96b(has pmdomain: apple: pmgr-pwrstate: power gate a domain left clock gated #3668 and eb64ee5): boots clean, then resets at the first s2idle (journal ends mid-suspend, nothing logged).a171afd2+ pmdomain: apple: pmgr-pwrstate: power gate a domain left clock gated #3668's head, twice (with and without drm/apple: dcp: take a firmware-placed live OSLog buffer sized in bytes #3689): the same reset.a171afd2tree with pmdomain: apple: pmgr-pwrstate: power gate a domain left clock gated #3668 reverted: s2idle 2/2, 0 oops/AVC/DART/GPU faults.Host tests
run-host-tests.py --only pmgr: 3/3 (incl.apple/pmgr-inherited). Details and the A/B table: pmdomain: apple: pmgr-pwrstate: power gate a domain left clock gated #3668 (comment)Risk: two-way door. Domains the boot loader left clock gated without a consumer stay powered again, as before #3668 (higher idle and deep-sleep drain on J413 until a fixed version lands).
Not yet: a reworked #3668 that keeps the T6000 sleep path powered, shown on the J316s.