[PATCH v2 0/2] cpuidle: riscv-sbi: Allow cpuidle pd used by other devices

From: Nick Hu
Date: Wed Aug 14 2024 - 01:44:50 EST


Add this patchset so the devices that inside the cpu/cluster power domain
can use the cpuidle pd to register the genpd notifier to handle the PM
when cpu/cluster is going to enter a deeper sleep state.

Nick Hu (2):
cpuidle: riscv-sbi: Move sbi_cpuidle_init to arch_initcall
cpuidle: riscv-sbi: Add cpuidle_disabled() check

drivers/cpuidle/cpuidle-riscv-sbi.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

--
2.34.1