[PATCH 0/2] cpuidle: Fix runtime PM based cpuidle for s2idle

Ulf Hansson ulf.hansson at linaro.org
Wed Sep 29 07:44:49 PDT 2021


Maulik Shah reported problems to me around the s2idle support in the
cpuidle-psci driver. More precisely, calls to pm_runtime_get|put fails during
system wide suspend, because runtime PM gets disabled by the PM core.

This small series intends to fix the problem. More details in the commit
messages.

Kind regards
Ulf Hansson


Ulf Hansson (2):
  cpuidle: Avoid calls to cpuidle_resume|pause() for s2idle
  PM: sleep: Fix runtime PM based cpuidle support

 drivers/base/power/main.c |  6 ++----
 drivers/cpuidle/cpuidle.c |  7 ++++++-
 include/linux/cpuidle.h   |  2 ++
 kernel/power/suspend.c    |  2 --
 kernel/sched/idle.c       | 40 ++++++++++++++++++++++-----------------
 5 files changed, 33 insertions(+), 24 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list