[PATCH 4/7] arm64: dts: qcom: c630: Use the idle states from the ACPI tables
Konrad Dybcio
konrad.dybcio at oss.qualcomm.com
Fri Nov 13 00:49:04 PST 2026
On 11/11/26 12:53 PM, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
>
> Commit 07db10de262f ("arm64: dts: qcom: sdm850-lenovo-yoga-c630: lower
> PSCI cluster idle") dropped bit 14 from the PSCI suspend parameter of the
> cluster idle state, as the C630 would occasionally reset with the sdm845
> default. However, the firmware refuses the resulting value of 0x41008244:
> the cluster power domain is never entered, in EL1 or EL2, and the last CPU
> of the cluster keeps retrying instead, including during suspend to idle.
>
> In EL2, the firmware accepts the sdm845 default of 0x4100c244. However,
> besides powering down the cluster, this state also puts the rest of the
> SoC to sleep (LLCC off, AOSS sleep), and entering it at runtime while the
> display is off, e.g., right after locking the screen, makes the C630
> reset.
>
> The _LPI objects in the C630's DSDT describe the states that Windows uses:
> on top of CPU state C4 (0x40000004), the cluster container has
> L3Cluster.D4 (0x40) at level 0x01000000, and the system container has
> platform.F2 (0xc300). So use L3Cluster.D4, i.e., 0x41000044, which only
> powers down the cluster and its L3 cache, as the cluster idle state.
>
> Add platform.F2, i.e., 0x4100c344, as a second, deeper cluster idle state,
> which lets the SoC reach AOSS sleep and CX collapse during suspend to idle.
> It differs from the sdm845 default in bits 11:8, which are 3 rather than
> 2, like in the corresponding states of newer SoCs and of the sc8180x and
> sc8280xp WoA platforms. Give it a minimum residency of about 71 minutes
> to keep the runtime governor away from it: suspend to idle always picks
> the deepest state that satisfies the CPU wakeup latency QoS constraint,
> regardless of its residency.
A doc confirms this is specific to "Select Windows [sw releases] only".
Let's move that override to sdm850.dtsi with a comment.
[...]
> +/* L3Cluster.D4 from the ACPI tables: powers down the cluster and its L3 */
> &cluster_sleep_0 {
> - arm,psci-suspend-param = <0x41008244>;
> + arm,psci-suspend-param = <0x41000044>;
> };
This isn't defined in the Android tree, but to my best understanding
should work just fine there, i.e. we can push it to sdm845.dtsi. I'm
sure someone from the extensive 845 linux phone crowd will give it a
test.
Konrad
More information about the linux-arm-kernel
mailing list