lkml.org 
[lkml]   [2020]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] PM: s2idle: Introduce syscore callbacks in s2idle flow
Date
This series based on 5.9-rc1
This patch makes s2idle call existing syscore callbacks. Currently,
when s2idle is selected as system suspend method, callbacks hooked
by register_syscore_ops() will not be triggered. This may induce
unexpected results.

For example, sched_clock_suspend() was added to s2idle flow in
commit 3f2552f7e9c5 ("timers/sched_clock: Prevent generic sched_clock
wrap caused by tick_freeze()") to fix clock wrap problem. However,
sched_clock_suspend() is originally registered in syscore callback.
With this patch, if another syscore callback is needed in s2idle,
additional migration effort could be saved.



*** BLURB HERE ***

claude.yen (1):
PM: s2idle: Introduce syscore callbacks in s2idle flow

drivers/cpuidle/cpuidle.c | 36 ++++++++++++++++++++++++++++++++----
kernel/cpu_pm.c | 17 +++++++++++++++++
kernel/time/tick-common.c | 17 ++---------------
3 files changed, 51 insertions(+), 19 deletions(-)

--
1.7.9.5
\
 
 \ /
  Last update: 2020-09-01 09:06    [W:0.051 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site