Skip to content

cpuidle: Fix runtime PM based cpuidle for s2idle

Ulf Hansson linux-arm-kernel linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpuidle: Avoid calls to cpuidle_resume|pause() for s2idledrivers/cpuidle/cpuidle.c include/linux/cpuidle.h kernel/power/suspend.c +1 more+31 -205 replies
2/2PM: sleep: Fix runtime PM based cpuidle supportdrivers/base/power/main.c+2 -422 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMaulik Shah
1/2
2/2Diagnosed-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.1