]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpuidle: psci: Drop redundant assignment of CPUIDLE_FLAG_RCU_IDLE
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 27 May 2024 14:25:55 +0000 (16:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Aug 2024 11:24:28 +0000 (13:24 +0200)
commit88bf68b76694873c3b101b65a26c4b315fab06df
tree11c15c7b14760b8b4b8a146f777eeb46c475083b
parentc7b45284ab3012d21a02cf4448df32c655c32afb
cpuidle: psci: Drop redundant assignment of CPUIDLE_FLAG_RCU_IDLE

When using the hierarchical topology and PSCI OSI-mode we may end up
overriding the deepest idle-state's ->enter|enter_s2idle() callbacks, but
there is no point to also re-assign the CPUIDLE_FLAG_RCU_IDLE for the
idle-state in question, as that has already been set when parsing the
states from DT. See init_state_node().

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-6-ulf.hansson@linaro.org
drivers/cpuidle/cpuidle-psci.c