Re: [PATCH v2 1/3] dt-bindings: power: domain-idle-state: Add system-state
From: Ulf Hansson
Date: Mon Nov 23 2026 - 09:45:02 EST
On Mon, Nov 23, 2026 at 9:20 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> On Tue, Nov 17, 2026 at 10:34:52AM +0530, Maulik Shah wrote:
> >
> >
> > On 16-11-2026 17:28, Krzysztof Kozlowski wrote:
> > > On Fri, Nov 13, 2026 at 10:25:25AM +0530, Maulik Shah wrote:
> > >> Some domain idle states require system-wide coordination and are not
> > >> applicable while the platform is up and running.
> > > You repeated the property description. Say something more. Why they are
> > > not applicable when platform is running? So if not running, when are
> > > they applicable? Why?
> >
> > On certain platforms CPU subsystem deepest idle state requires co-ordination with SAIL subsystem
> > such that both must be powered down in coordinated sequence. During wakeup SAIL subsystem must
> > be powered up before CPU can resume. The wakeup can take a second or more.
> >
> > Selecting this state during opportunistic CPU idle can therefore cause substantial wakeup delays and
> > repeatedly interrupt SAIL operation whenever the CPUs become idle.
>
> The idle state latency times define that. No need for a new property.
Unfortunately they don't. The extended coordination that is needed in
the FW to reach these states has nothing to do with latency.
We simply can't reach these states unless the entire system becomes
suspended. From the PSCI point of view this can be compared with the
PSCI SYSTEM SUSPEND call, that we use for suspend-to-ram.
If a "system state" would be voted for from cpuidle in runtime and
when using PSCI OSI mode, the FW would always return an error code. In
PSCI PC mode, the FW would typically downgrade the vote and pick a
shallower state.
In regards to ACPI, this can be compared with the S-states.
Please have a look at the discussion [1] I had with Sudeep around this
to get more details.
That said, I will work with Maulik to clarify this. Seems like we
could improve the commit message and the description of the property a
bit more.
Kind regards
Uffe
[1]
https://lore.kernel.org/all/20261005-s2idle_state-v1-2-3c402c66f388@xxxxxxxxxxxxxxxx/