Re: [PATCH RFC] arm64: dts: qcom: hamoa: Drop cluster_cl5 idle state from CPU clusters
From: Jens Glathe
Date: Mon Nov 30 2026 - 14:59:24 EST
Hi Marc, Konrad,
a late follow-up with some data on what to do with cluster_cl5.
On 6/8/26 14:19, Marc Zyngier wrote:
> On Mon, 08 Jun 2026 12:40:02 +0100,
> Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx> wrote:
>> On 6/5/26 10:09 AM, Marc Zyngier wrote:
>>> It may be worth adding a comment somewhere in the DTS file, as
>>> cluster_cl5 is not referenced anymore.
>>>
>>> Ideally we'd simply mark cluster-sleep-1 with 'status = "disabled"',
>>> but I'm not sure Linux (and other OSs that consume this) actively
>>> parse this property.
Rather than disabling it, I tried keeping CL5 for system suspend only,
using the "system-state" domain idle state property from Maulik's
series [1]. genpd skips such states in runtime idle, and only the
s2idle path can select them. The clusters list CL4 and CL5 again, with
CL5 marked system-state. For now this lives in board overlays in my
tree, hamoa.dtsi/purwa.dtsi still have CL4 only.
Test: icecream95's x1e-crash [2] running single-threaded, first
without suspending (CL5 usage on the cluster domains must not move),
then 20 manually woken s2idle cycles, with the genpd idle_states
counters read before and after.
- ThinkPad T14s G6 (X1E-78-100), EL2, CL5 + DRIPS (system-state):
no reset. No CL5 entry in the runtime phase. Over the 20 suspends,
CL5 usage and s2idle went 2 -> 22 on cluster0/1/2 and DRIPS 2 -> 22
on the system domain.
- IdeaPad Slim 5x (X1P-42-100), EL1: no reset. CL5 entered in 20/20
suspends on both clusters, DRIPS 20/20. Overnight s2idle 1.253 W at
99% cxsd/ddr residency, against 1.269 W with CL4 only and otherwise
the same setup.
So CL5 in s2idle has been stable on these two so far, at EL1 and EL2,
for a small power gain. I haven't measured anything that tells why CL5
at runtime is the problem, only that keeping it out of runtime idle is
enough here. (The T14s EL2 setup doesn't reach cxsd collapse yet for
unrelated reasons, my guess is the ADSP, so no meaningful power number
there.) The devkit with its PC-mode firmware isn't covered by any of
this.
If that direction is acceptable, I'd do a v2 that keeps cluster_cl5
referenced and marks it system-state (with a comment), instead of
dropping it, once [1] has landed. Until then the RFC as is, plus the
comment you asked for.
[1] https://lore.kernel.org/r/20261113-s2idle_state-v2-0-ad604182e7e7@xxxxxxxxxxxxxxxx
[2] https://github.com/icecream95/x1e-crash
with best regards
Jens