]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpuidle: psci: Enable the hierarchical topology for s2ram on PREEMPT_RT
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 27 May 2024 14:25:56 +0000 (16:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Aug 2024 11:24:47 +0000 (13:24 +0200)
commit4517b1c383807fadac8374f99f2361fe7eb4c0b4
tree2996aa36a14c8a76725b6a6723c0d8ff99310103
parent88bf68b76694873c3b101b65a26c4b315fab06df
cpuidle: psci: Enable the hierarchical topology for s2ram on PREEMPT_RT

The hierarchical PM domain topology are currently disabled on a PREEMPT_RT
based configuration. As a first step to enable it to be used, let's try to
attach the CPU devices to their PM domains on PREEMPT_RT. In this way the
syscore ops becomes available, allowing the PM domain topology to be
managed during s2ram.

For the moment let's leave the support for CPU hotplug outside PREEMPT_RT,
as it's depending on using runtime PM. For s2ram, this isn't a problem as
all CPUs are managed via the syscore ops.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com> # qcm6490 with PREEMPT_RT set
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20240527142557.321610-7-ulf.hansson@linaro.org
drivers/cpuidle/cpuidle-psci.c