Message ID | 20201103150627.233438-1-ulf.hansson@linaro.org |
---|---|
Headers | show |
Series | cpuidle: psci: Enable s2idle when using PSCI OSI | expand |
On Tue, Nov 3, 2020 at 4:07 PM Ulf Hansson <ulf.hansson@linaro.org> wrote: > > Changes in v2: > - See changelog for each patch. > > When using PSCI OSI together with the PM domain topology, the domain idle > states becomes selected via calls to pm_runtime_put_sync_suspend(). This works > fine for the regular idle path, but not for system wide suspend-to-idle. > > This problem is because runtime PM gets disabled by the PM core, during system > wide suspend. In this small series, these issues are being fixed. > > Kind regards > Ulf Hansson > > Ulf Hansson (3): > PM: domains: Rename pm_genpd_syscore_poweroff|poweron() > PM: domains: Enable dev_pm_genpd_suspend|resume() for suspend-to-idle > cpuidle: psci: Enable suspend-to-idle for PSCI OSI mode > > drivers/base/power/domain.c | 51 ++++++++++++++++++--------- > drivers/clocksource/sh_cmt.c | 8 ++--- > drivers/clocksource/sh_mtu2.c | 4 +-- > drivers/clocksource/sh_tmu.c | 8 ++--- > drivers/cpuidle/cpuidle-psci-domain.c | 2 ++ > drivers/cpuidle/cpuidle-psci.c | 34 +++++++++++++++--- > include/linux/pm_domain.h | 8 ++--- > 7 files changed, 81 insertions(+), 34 deletions(-) > > -- Applied as 5.11 material, thanks!