[PATCH v2 0/3] cpuidle: psci: Enable s2idle when using PSCI OSI
Ulf Hansson
ulf.hansson at linaro.org
Tue Nov 3 10:06:24 EST 2020
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(-)
--
2.25.1
More information about the linux-arm-kernel
mailing list