[PATCH 0/2] cpuidle: Fix runtime PM based cpuidle for s2idle
From: Ulf Hansson <hidden>
Date: 2021-09-29 14:44:59
Also in:
linux-pm, lkml
From: Ulf Hansson <hidden>
Date: 2021-09-29 14:44:59
Also in:
linux-pm, lkml
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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel