Repository navigation
cpuidle: apple: add T6050, so M5 suspend-to-idle freezes the tick - #826
Merged
Merged
Conversation
T6050 (M5 Pro and M5 Max) has no cpuidle driver, so suspend-to-idle never reaches cpuidle_enter_s2idle(): the tick is never frozen and timekeeping is never suspended. Register the driver on T6050. A T6050 guest cannot write CYC_OVRD, so CPU PD is not available, and WFI already lets the hardware power-gate idle cores. Both entries therefore use WFI, as on T8140 and T6041, and index 1 is kept because the s2idle selector skips index 0. Developed with Claude Code. Signed-off-by: Erik Bourget <[email protected]>
Resolve the cpuidle-apple probe conflict: integration/aurora now selects WFI-only SoCs by cpuidle compatible (T6041, T8132) besides the T8140 machine check. Keep T6050 as a machine check next to T8140, as no T6050 cpuidle node exists yet. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
Contributor
|
Merged integration/aurora into the branch (baeb7d5) to resolve the conflict with the compatible-based WFI-only selection (T6041, T8132). T6050 stays a machine check beside T8140, since no T6050 cpuidle node exists on integration yet. The resolved tree builds clean with W=1 (arm64, LLVM, cpuidle-apple.o) and checkpatch --strict is clean on 4253ee0. Other SoCs are untouched: the change only adds the apple,t6050 machine check. Merging on erikwb's J716c hardware result. 🤖 Generated with Claude Code |
RyanTheTide
added a commit
that referenced
this pull request
Nov 6, 2026
Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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.
On T6050 (M5 Pro and M5 Max) no cpuidle driver binds, so suspend-to-idle never reaches
cpuidle_enter_s2idle(). The tick is never frozen and timekeeping is never suspended, so the CPUs keep taking timer interrupts through the whole sleep. This registerscpuidle-appleon T6050.What it changes
cpu_do_idle().Testing (J716c, M5 Max)
This change was run on the J716c daily kernel (7.1.12 base). This branch is the same change on
integration/aurora's version of the driver.current_driverreadsapple_idlewith two WFI states, and both are used at the desktop.Not tested: M5 Pro.
Checks: checkpatch
--strictis clean, anddrivers/cpuidle/cpuidle-apple.obuilds with W=1 and no warnings on this base.Created with Claude Opus 5.5 in Claude Code.