Skip to content

Revert #3668: resets the M1 Pro (T6000) at s2idle - #3886

Merged
RyanTheTide merged 2 commits into
mainfrom
revert/3668-t6000-s2idle
Dec 2, 2026
Merged

RyanTheTide merged 2 commits into
mainfrom
revert/3668-t6000-s2idle

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

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:

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.

… 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 satchlj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@RyanTheTide
RyanTheTide merged commit 1b2c361 into main Dec 2, 2026
10 of 11 checks passed
@RyanTheTide
RyanTheTide deleted the revert/3668-t6000-s2idle branch December 2, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants