mbox series

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

Message ID 20240814054434.3563453-1-nick.hu@sifive.com
Headers show
Series cpuidle: riscv-sbi: Allow cpuidle pd used by other devices | expand

Message

Nick Hu Aug. 14, 2024, 5:44 a.m. UTC
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(-)

Comments

Nick Hu Aug. 22, 2024, 4:22 a.m. UTC | #1
Hi Anup

Any suggestions on this one?

On Wed, Aug 14, 2024 at 1:44 PM Nick Hu <nick.hu@sifive.com> wrote:
>
> 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
>

Regards,
Nick