mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next 0/2] PM: suspend: Optimized suspend is fail returned by wakeup
@ 2022-06-29  0:33 xiongxin
  2022-06-29  0:33 ` [PATCH -next 1/2] PM: suspend: expand the assignment scope of the pm_suspend_target_state xiongxin
  2022-06-29  0:33 ` [PATCH -next 2/2] PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate xiongxin
  0 siblings, 2 replies; 6+ messages in thread
From: xiongxin @ 2022-06-29  0:33 UTC (permalink / raw)
  To: rafael, len.brown, pavel; +Cc: linux-pm, linux-kernel, xiongxin

When the suspend process is executed from the /sys/power/state entry,
the pm_wakeup_clear() signal is cleared in advance, and the wakeup
signal can be captured to fail the suspend process when the suspend
process is notified by the notifier;

Expanding the scope of the pm_suspend_target_state variable also allows
the device driver to know that the system has entered the suspend
process earlier.

xiongxin (2):
  PM: suspend: expand the assignment scope of the
    pm_suspend_target_state
  PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate

 kernel/power/process.c |  5 ++++-
 kernel/power/suspend.c | 13 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

-- 
2.25.1


No virus found
		Checked by Hillstone Network AntiVirus

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH -next 0/2] PM: suspend: Optimized suspend is fail returned by wakeup
@ 2022-06-29  1:11 xiongxin
  2022-06-29  1:11 ` [PATCH -next 2/2] PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate xiongxin
  0 siblings, 1 reply; 6+ messages in thread
From: xiongxin @ 2022-06-29  1:11 UTC (permalink / raw)
  To: rafael, len.brown, pavel, xiongxin, luriwen; +Cc: linux-pm, linux-kernel

When the suspend process is executed from the /sys/power/state entry,
the pm_wakeup_clear() signal is cleared in advance, and the wakeup
signal can be captured to fail the suspend process when the suspend
process is notified by the notifier;

Expanding the scope of the pm_suspend_target_state variable also allows
the device driver to know that the system has entered the suspend
process earlier.

xiongxin (2):
  PM: suspend: expand the assignment scope of the
    pm_suspend_target_state
  PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate

 kernel/power/process.c |  5 ++++-
 kernel/power/suspend.c | 13 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

-- 
2.25.1


No virus found
		Checked by Hillstone Network AntiVirus

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

end of thread, other threads:[~2022-07-12 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29  0:33 [PATCH -next 0/2] PM: suspend: Optimized suspend is fail returned by wakeup xiongxin
2022-06-29  0:33 ` [PATCH -next 1/2] PM: suspend: expand the assignment scope of the pm_suspend_target_state xiongxin
2022-06-29  0:33 ` [PATCH -next 2/2] PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate xiongxin
2022-06-29 11:58   ` kernel test robot
2022-06-29  1:11 [PATCH -next 0/2] PM: suspend: Optimized suspend is fail returned by wakeup xiongxin
2022-06-29  1:11 ` [PATCH -next 2/2] PM: suspend: advanced pm_wakeup_clear() for normal suspend/hibernate xiongxin
2022-07-12 18:53   ` 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

all inboxes | Powered by JetHome®