RISC-V SBI CPU idle Driver

modulename: cpuidle-riscv-sbi.ko

configname: CONFIG_RISCV_SBI_CPUIDLE

Linux Kernel Configuration
└─>Power management and ACPI options
└─>CPU Idle
└─>RISC-V CPU Idle Drivers
└─>RISC-V SBI CPU idle Driver
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Select this option to enable RISC-V SBI firmware based CPU idle
driver for RISC-V systems. This drivers also supports hierarchical
DT based layout of the idle state.

source code: