From: Kevin Hilman <khilman@baylibre.com>
To: "Kochidanadu, Scaria" <s-kochidanadu@ti.com>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Sudeep Holla <sudeep.holla@kernel.org>,
Ulf Hansson <ulfh@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Christian Loehle <christian.loehle@arm.com>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Clark Williams <clrkwllms@kernel.org>,
Steven Rostedt <rostedt@goodmis.org>
Cc: Maulik Shah <maulik.shah@oss.qualcomm.com>,
linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev
Subject: Re: [PATCH v2] cpuidle: psci: Allow domain idle states in s2idle for all CPU idle states
Date: Tue, 01 Dec 2026 18:12:39 -0800 [thread overview]
Message-ID: <20261201181239.f00ecd55d127@baylibre.com> (raw)
In-Reply-To: <3d3924f2-9fd0-4ca9-acc4-aa82bfb2f6e5@ti.com>
"Kochidanadu, Scaria" <s-kochidanadu@ti.com> writes:
[...]
> The cpuidle and genpd governor select a domain state considering the
> next timer event and predicted idle duration.
> This does not necessarily guarantee that the composite cluster state
> selected is compatible with the CPU idle state
> requested by the participating CPUs. Should'nt the firmware act as the
> final arbitrator, rejecting composite states
> that are inconsistent with the overall system state?
>
> Thus I believe domain-aware callbacks could also be enabled for shallow
> CPU state in the regular idle path.
Possibly, but I intentionally left the regular idle path out of v2
because it's a lot more complicated, and I don't want it to be a
dependency on the s2idle part working.
While I agree that the firmware *should* act as the final arbitrator and
reject states that are inconsistent, I have very large doubts that
firmware does this today, and how we could be sure it does, so it's not
something that is safe to assume.
Kevin
prev parent reply other threads:[~2026-12-02 2:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 23:58 [PATCH v2] cpuidle: psci: Allow domain idle states in s2idle for all CPU idle states Kevin Hilman (TI)
2026-11-25 7:05 ` [EXTERNAL] " Kochidanadu, Scaria
2026-12-02 2:12 ` Kevin Hilman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201181239.f00ecd55d127@baylibre.com \
--to=khilman@baylibre.com \
--cc=bigeasy@linutronix.de \
--cc=christian.loehle@arm.com \
--cc=clrkwllms@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rt-devel@lists.linux.dev \
--cc=lpieralisi@kernel.org \
--cc=maulik.shah@oss.qualcomm.com \
--cc=rafael@kernel.org \
--cc=rostedt@goodmis.org \
--cc=s-kochidanadu@ti.com \
--cc=sudeep.holla@kernel.org \
--cc=ulfh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.