low-latency CPU standby mode#70
Merged
DhruvaG2000 merged 4 commits intoTexasInstruments:ti-masterfrom Feb 4, 2026
Merged
Conversation
67ab5cd to
32582ce
Compare
DhruvaG2000
reviewed
Feb 3, 2026
fd10391 to
6967427
Compare
DhruvaG2000
reviewed
Feb 4, 2026
6967427 to
53203dd
Compare
DhruvaG2000
approved these changes
Feb 4, 2026
Implementing cpu standby LPM introduces more intermediate power states for retention. Thus increasing the power level for PLAT_MAX_RET_STATE and in association PLAT_MAX_OFF_STATE Signed-off-by: Scaria Kochidanadu <[email protected]>
plat_psci_common.c is not used by am62l, thus removing it from plat_common.mk. Adding plat_psci_common.c in the board specific board.mk to build it for the boards that use it. Signed-off-by: Scaria Kochidanadu <[email protected]>
Executing WFI at EL3 without explicitly configuring scr_el3 leads to unstable behaviour and systems hangs on entering the low power mode. Save and update scr_el3 with required bits for routing of interrupts and restoring original scr_el3 value on resume to ensure correct entry and exit from WFI. Signed-off-by: Scaria Kochidanadu <[email protected]>
Introduce a new low-latency CPU standby mode using the OSI mode in PSCI and leveraging the cpuidle framework in the kernel. Using the cpuidle framework, when the cores are idle, the cpuidle governor opportunistically selects among the idle-states that are present to enter a low power state. In the low latency cluster idle state implemented: DDR is in auto self refresh, auto clock gating is enabled, few LPSCs are disabled and PLLs are in Bypass or running at low frequency to save power. Signed-off-by: Scaria Kochidanadu <[email protected]>
53203dd to
c263b9c
Compare
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 a new low-latency CPU standby LPM in the AM62L SoC.
Using the OSI mode of PSCI in ATF and the cpuidle driver in the kernel,
the system can enter idle states opportunistically when the OS deems the cpus to be idle.