All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] cpuidle: psci: Enable s2idle when using PSCI OSI
@ 2020-11-03 15:06 ` Ulf Hansson
  0 siblings, 0 replies; 10+ messages in thread
From: Ulf Hansson @ 2020-11-03 15:06 UTC (permalink / raw)
  To: Rafael J . Wysocki, Sudeep Holla, Lorenzo Pieralisi, linux-pm
  Cc: Daniel Lezcano, Lina Iyer, Lukasz Luba, Vincent Guittot,
	Stephen Boyd, Bjorn Andersson, Alexandre Torgue, Ulf Hansson,
	linux-arm-kernel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-11-10 19:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 15:06 [PATCH v2 0/3] cpuidle: psci: Enable s2idle when using PSCI OSI Ulf Hansson
2020-11-03 15:06 ` Ulf Hansson
2020-11-03 15:06 ` [PATCH v2 1/3] PM: domains: Rename pm_genpd_syscore_poweroff|poweron() Ulf Hansson
2020-11-03 15:06   ` Ulf Hansson
2020-11-03 15:06 ` [PATCH v2 2/3] PM: domains: Enable dev_pm_genpd_suspend|resume() for suspend-to-idle Ulf Hansson
2020-11-03 15:06   ` Ulf Hansson
2020-11-03 15:06 ` [PATCH v2 3/3] cpuidle: psci: Enable suspend-to-idle for PSCI OSI mode Ulf Hansson
2020-11-03 15:06   ` Ulf Hansson
2020-11-10 19:44 ` [PATCH v2 0/3] cpuidle: psci: Enable s2idle when using PSCI OSI Rafael J. Wysocki
2020-11-10 19:44   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.