linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cpuidle: Fix runtime PM based cpuidle for s2idle
@ 2021-09-29 14:44 Ulf Hansson
  2021-09-29 14:44 ` [PATCH 1/2] cpuidle: Avoid calls to cpuidle_resume|pause() " Ulf Hansson
  2021-09-29 14:44 ` [PATCH 2/2] PM: sleep: Fix runtime PM based cpuidle support Ulf Hansson
  0 siblings, 2 replies; 30+ messages in thread
From: Ulf Hansson @ 2021-09-29 14:44 UTC (permalink / raw)
  To: Rafael J . Wysocki, Daniel Lezcano, linux-pm
  Cc: Maulik Shah, Peter Zijlstra, Vincent Guittot, Len Brown,
	Bjorn Andersson, Ulf Hansson, linux-arm-kernel, linux-kernel

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


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

end of thread, other threads:[~2021-10-22 13:08 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 14:44 [PATCH 0/2] cpuidle: Fix runtime PM based cpuidle for s2idle Ulf Hansson
2021-09-29 14:44 ` [PATCH 1/2] cpuidle: Avoid calls to cpuidle_resume|pause() " Ulf Hansson
2021-10-06 10:22   ` Maulik Shah
2021-10-06 13:10     ` Ulf Hansson
2021-10-09 15:42       ` Rafael J. Wysocki
2021-10-09 15:39   ` Rafael J. Wysocki
2021-10-11 10:04     ` Ulf Hansson
2021-09-29 14:44 ` [PATCH 2/2] PM: sleep: Fix runtime PM based cpuidle support Ulf Hansson
2021-10-06 10:28   ` Maulik Shah
2021-10-20 18:18   ` Rafael J. Wysocki
2021-10-21 11:48     ` Ulf Hansson
2021-10-21 13:45       ` Rafael J. Wysocki
2021-10-21 14:04         ` Ulf Hansson
2021-10-21 15:09           ` Rafael J. Wysocki
2021-10-21 15:45             ` Rafael J. Wysocki
2021-10-21 16:28               ` Ulf Hansson
2021-10-21 16:41                 ` Rafael J. Wysocki
2021-10-21 17:05                   ` Rafael J. Wysocki
2021-10-21 18:49                     ` Ulf Hansson
2021-10-21 18:36                   ` Ulf Hansson
2021-10-21 16:16             ` Ulf Hansson
2021-10-21 16:33               ` Rafael J. Wysocki
2021-10-21 18:11                 ` Ulf Hansson
2021-10-21 19:02                   ` Rafael J. Wysocki
2021-10-21 19:56                     ` Ulf Hansson
2021-10-22  9:15                       ` Maulik Shah
2021-10-22 10:18                       ` Ulf Hansson
2021-10-22 12:02                         ` Rafael J. Wysocki
2021-10-22 12:56                           ` Ulf Hansson
2021-10-22 13:08                             ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).