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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250923094020.ogc2nr5nxryxoavq@lcpd911>
Date: Tue, 23 Sep 2025 15:10:20 +0530
From: Dhruva Gole <d-gole@...com>
To: Peng Fan <peng.fan@....com>
CC: "Rafael J. Wysocki" <rafael@...nel.org>, Pavel Machek <pavel@...nel.org>,
        Len Brown <lenb@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Danilo Krummrich <dakr@...nel.org>,
        Ulf Hansson <ulf.hansson@...aro.org>,
        Peter Chen <peter.chen@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
        Sascha
 Hauer <s.hauer@...gutronix.de>,
        Pengutronix Kernel Team
	<kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        Thinh Nguyen
	<Thinh.Nguyen@...opsys.com>, <linux-pm@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>,
        <imx@...ts.linux.dev>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v4 1/5] PM: wakeup: Add out-of-band system wakeup support
 for devices

On Sep 22, 2025 at 10:21:06 +0800, Peng Fan wrote:
> Some devices can wake up the system from suspend even when their power
> domains are turned off. This is possible because their system-wakeup logic
> resides in an always-on power domain - indicating that they support
> out-of-band system wakeup.
> 
> Currently, PM domain core doesn't power off such devices if they are marked
> as system wakeup sources. To better represent devices with out-of-band

This commit message makes things much clearer now. Thanks!

> wakeup capability, this patch introduces a new flag out_band_wakeup in
> 'struct dev_pm_info'.
> 
> Two helper APIs are added:
>  - device_set_out_band_wakeup() - to mark a device as having out-of-band
>    wakeup capability.
>  - device_out_band_wakeup() - to query the flag.
> 
> Allow the PM core and drivers to distinguish between regular and
> out-of-band wakeup sources, enable more accurate power management decision.
> 
> Signed-off-by: Peng Fan <peng.fan@....com>
> ---

Reviewed-by: Dhruva Gole <d-gole@...com>

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ