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

Nick Hu nick.hu at sifive.com
Tue Aug 13 22:44:32 PDT 2024


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




More information about the linux-riscv mailing list