-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSCI: fix some PSCI issues and decouple CPU standby from CPU power down #186
Conversation
@Diogo21Costa could you check this is inline with your previous work in distinguishing idle cpu states? |
@josecm aside from a few minor comments, this looks good to me and is consistent with the previous work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
777cbd6
to
12c0cfd
Compare
@joaopeixoto13 please rebase this on main and adapt the RISC-V suspend calls |
Signed-off-by: João Peixoto <[email protected]>
12c0cfd
to
080a24e
Compare
Done |
Decoupled the CPU idle state (now called standby) from the CPU power down state. This change allows future implementations requiring CPU standby — where the core may be needed shortly after an event — to avoid transitioning to a deeper power down state. This commit also removes the `PSCI_WAKEUP_IDLE` (or standby in this case) from `psci_wake_handlers` since the standby mode does not use the `entry_point_address` and `context_id` fields and, therefore, does not require a custom wake-up handler (e.g., psci_boot_entry). Signed-off-by: João Peixoto <[email protected]>
080a24e
to
8adff24
Compare
This PR is divided into three parts: