summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/Kconfig
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2022-02-10 06:49:45 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2022-03-10 18:29:51 +0100
commit6abf32f1d9c5009dcccded2c1e7ca899a4ab587b (patch)
tree98d2fa09e7351cba6dcd307277180e29568ddef7 /drivers/cpuidle/Kconfig
parentcpuidle: Factor-out power domain related code from PSCI domain driver (diff)
downloadlinux-6abf32f1d9c5009dcccded2c1e7ca899a4ab587b.tar.xz
linux-6abf32f1d9c5009dcccded2c1e7ca899a4ab587b.zip
cpuidle: Add RISC-V SBI CPU idle driver
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>
Diffstat (limited to 'drivers/cpuidle/Kconfig')
-rw-r--r--drivers/cpuidle/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index f1afe7ab6b54..ff71dd662880 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -66,6 +66,11 @@ depends on PPC
source "drivers/cpuidle/Kconfig.powerpc"
endmenu
+menu "RISC-V CPU Idle Drivers"
+depends on RISCV
+source "drivers/cpuidle/Kconfig.riscv"
+endmenu
+
config HALTPOLL_CPUIDLE
tristate "Halt poll cpuidle driver"
depends on X86 && KVM_GUEST