Message ID | 20220529181329.2345722-2-michael@walle.cc (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: remove generic ARM cpuidle support | expand |
On Sun, May 29, 2022 at 08:13:28PM +0200, Michael Walle wrote: > Since commit 788961462f34 ("ARM: psci: cpuidle: Enable PSCI CPUidle > driver") the generic ARM cpuidle driver doesn't probe anymore because > arm_cpuidle_init() will always return -EOPNOTSUPP. That is, because the > mentioned commit removes the only .cpu_suspend and .cpu_init_idle > provider. Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm index be7f512109f7..747aa537389b 100644 --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -3,7 +3,8 @@ # ARM CPU Idle drivers # config ARM_CPUIDLE - bool "Generic ARM/ARM64 CPU idle Driver" + bool "Generic ARM CPU idle Driver" + depends on ARM select DT_IDLE_STATES select CPU_IDLE_MULTIPLE_DRIVERS help
Since commit 788961462f34 ("ARM: psci: cpuidle: Enable PSCI CPUidle driver") the generic ARM cpuidle driver doesn't probe anymore because arm_cpuidle_init() will always return -EOPNOTSUPP. That is, because the mentioned commit removes the only .cpu_suspend and .cpu_init_idle provider. Signed-off-by: Michael Walle <michael@walle.cc> --- drivers/cpuidle/Kconfig.arm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)