lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220630005718.309178-1-xiongxin@kylinos.cn>
Date:   Thu, 30 Jun 2022 08:57:16 +0800
From:   xiongxin <xiongxin@...inos.cn>
To:     rafael@...nel.org, len.brown@...el.com, pavel@....cz,
        xiongxin@...inos.cn, luriwen@...inos.cn
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 -next 0/2] PM: suspend: Optimized suspend is fail returned by wakeup

Changes in v2:
* fix a build test ERROR reported by kernel test robot.
* Increase the initial value of the pm_suspend_target_state variable to
  prevent the situation where it was not assigned before the call from
  freeze_process().

Cover letter from v1:

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 | 15 ++++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

-- 
2.25.1


No virus found
		Checked by Hillstone Network AntiVirus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ