Re: [PATCH] PM / s2idle: Export s2idle_set_ops

2020-10-26 Thread claude yen
On Fri, 2020-10-23 at 16:58 +0200, Rafael J. Wysocki wrote: > On Fri, Oct 23, 2020 at 4:48 PM Sudeep Holla wrote: > > > > On Fri, Oct 23, 2020 at 12:28:20PM +0800, claude yen wrote: > > > On Thu, 2020-10-22 at 08:02 +0100, Sudeep Holla wrote: > > > > On T

Re: [PATCH] PM / s2idle: Export s2idle_set_ops

2020-10-22 Thread claude yen
On Thu, 2020-10-22 at 08:02 +0100, Sudeep Holla wrote: > On Thu, Oct 22, 2020 at 02:17:48PM +0800, Claude Yen wrote: > > As suspend_set_ops is exported in commit a5e4fd8783a2 > > ("PM / Suspend: Export suspend_set_ops, suspend_valid_only_mem"), > > exporting s2idl

[PATCH] PM / s2idle: Export s2idle_set_ops

2020-10-21 Thread Claude Yen
or Suspend-to-Idle(S2I) Signed-off-by: Claude Yen --- kernel/power/suspend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 8b1bb5ee7e5d..0dc3e8344318 100644 --- a/kernel/power/suspend.c +++ b/kernel/power/suspend.c @@ -79,6 +79

[PATCH] PM / s2idle: Export s2idle_set_ops

2020-10-21 Thread Claude Yen
ardless of Suspend-to-Ram(S2R) or Suspend-to-Idle(S2I) *** BLURB HERE *** Claude Yen (1): PM / s2idle: Export s2idle_set_ops kernel/power/suspend.c | 1 + 1 file changed, 1 insertion(+)

[PATCH] PM: s2idle: Introduce syscore callbacks in s2idle flow

2020-09-01 Thread Claude Yen
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