[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jCLSz_SeBKHwXOxRrwXvUBXiovXnQa4qx2nwOMgkuNSw@mail.gmail.com>
Date: Tue, 10 Feb 2026 17:57:19 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: "Kevin Hilman (TI)" <khilman@...libre.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Ulf Hansson <ulf.hansson@...aro.org>, linux-pm@...r.kernel.org,
Dhruva Gole <d-gole@...com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] PM / QoS: add flag to indicate latency applies system-wide
On Fri, Feb 6, 2026 at 1:30 AM Kevin Hilman (TI) <khilman@...libre.com> wrote:
>
> By default, the QoS resume latency currenly only applied to runtime PM
> decisions.
>
> Add new PM_QOS_FLAG_LATENCY_SYS flag to indicate that the
> resume latency QoS constraint should be applied to system-wide
> PM *in addition to* runtime PM.
>
> Signed-off-by: Kevin Hilman (TI) <khilman@...libre.com>
Acked-by: Rafael J. Wysocki (Intel) <rafael@...nel.org>
> ---
> include/linux/pm_qos.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h
> index 6cea4455f867..aededda52b6b 100644
> --- a/include/linux/pm_qos.h
> +++ b/include/linux/pm_qos.h
> @@ -37,6 +37,8 @@ enum pm_qos_flags_status {
> #define PM_QOS_LATENCY_TOLERANCE_NO_CONSTRAINT (-1)
>
> #define PM_QOS_FLAG_NO_POWER_OFF (1 << 0)
> +/* latency value applies to system-wide suspend/s2idle */
> +#define PM_QOS_FLAG_LATENCY_SYS (2 << 0)
>
> enum pm_qos_type {
> PM_QOS_UNITIALIZED,
>
> --
> 2.51.0
>
>
Powered by blists - more mailing lists