mbox series

[0/2] cpuidle: psci: Enable s2idle when using PSCI OSI

Message ID 20200901082707.106860-1-ulf.hansson@linaro.org
Headers show
Series cpuidle: psci: Enable s2idle when using PSCI OSI | expand

Message

Ulf Hansson Sept. 1, 2020, 8:27 a.m. UTC
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 (2):
  PM / Domains: Enable locking for syscore devices for IRQ safe genpds
  cpuidle: psci: Enable s2idle when using OSI with the PM domain
    topology

 drivers/base/power/domain.c           | 13 ++++++++++--
 drivers/cpuidle/cpuidle-psci-domain.c |  2 ++
 drivers/cpuidle/cpuidle-psci.c        | 30 +++++++++++++++++++++++----
 3 files changed, 39 insertions(+), 6 deletions(-)

-- 
2.25.1