diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2024-05-27 16:25:57 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-08-05 13:25:45 +0200 |
commit | 1c4b2932bd629fe800282114ceb465d3eb5d0737 (patch) | |
tree | 4babcacdb07568dbd56089be8cdcfe7f304bcf6a /drivers/pmdomain | |
parent | cpuidle: psci: Enable the hierarchical topology for s2ram on PREEMPT_RT (diff) | |
download | linux-1c4b2932bd629fe800282114ceb465d3eb5d0737.tar.xz linux-1c4b2932bd629fe800282114ceb465d3eb5d0737.zip |
cpuidle: psci: Enable the hierarchical topology for s2idle on PREEMPT_RT
To enable the domain-idle-states to be used during s2idle on a PREEMPT_RT
based configuration, let's allow the re-assignment of the ->enter_s2idle()
callback to psci_enter_s2idle_domain_idle_state().
Similar to s2ram, let's leave the support for CPU hotplug outside
PREEMPT_RT, as it's depending on using runtime PM. For s2idle, this means
that an offline CPU's PM domain will remain powered-on. In practise this
may lead to that a shallower idle-state than necessary gets selected, which
shouldn't be an issue (besides wasting power).
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-8-ulf.hansson@linaro.org
Diffstat (limited to 'drivers/pmdomain')
0 files changed, 0 insertions, 0 deletions