+7
−0
+5
−0
drivers/cpuidle/Kconfig.riscv
0 → 100644
+15
−0
+4
−0
drivers/cpuidle/cpuidle-riscv-sbi.c
0 → 100644
+627
−0
Loading
The RISC-V SBI HSM extension provides HSM suspend call which can be used by Linux RISC-V to enter platform specific low-power state. This patch adds a CPU idle driver based on RISC-V SBI calls which will populate idle states from device tree and use SBI calls to entry these idle states. Signed-off-by:Anup Patel <anup.patel@wdc.com> Signed-off-by:
Anup Patel <apatel@ventanamicro.com> Acked-by:
Atish Patra <atishp@rivosinc.com> Signed-off-by:
Palmer Dabbelt <palmer@rivosinc.com>