PM: runtime/cpuidle: Improve suspend-to-ram support for cpuidle-psci
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PM: runtime: Allow to call __pm_runtime_set_status() from atomic contextdrivers/ | +5 | 1 reply | |
| 2/2 | cpuidle: psci: Improve support for suspend-to-ram for PSCI OSI modedrivers/ | +46 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Maulik Shah |
|---|---|
| 1/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] PM: runtime/cpuidle: Improve suspend-to-ram support for cpuidle-psci
Maulik Shah reported a problem with suspend-to-ram for one of the Qualcomm platforms that is using PSCI OSI mode. Briefly described, the genpd on/off notifiers doesn't get sent when the boot CPU is turned on/off, which prevents the needed platform specific operations to be executed.
This series intends to solve these problems.
Note that, I have tested this on Dragonboard 410c, with some local hacks to the PSCI firmware driver. This was needed because the PSCI firmware didn't support SYSTEM_SUSPEND, so I basically made psci_system_suspend_enter() to call cpu_do_idle() and forced a suspend ops to be registered.
Maulik, can you please test this at your setup?
Kind regards
Ulf Hansson
Ulf Hansson (2):
PM: runtime: Allow to call __pm_runtime_set_status() from atomic
context
cpuidle: psci: Improve support for suspend-to-ram for PSCI OSI mode
drivers/base/power/runtime.c | 9 ++++--- drivers/cpuidle/cpuidle-psci.c | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1