2024-09-09 08:57:42 +00:00
|
|
|
menu "CPU Idle"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
config CPU_IDLE
|
|
|
|
bool "CPU idle PM support"
|
|
|
|
default y if ACPI || PPC_PSERIES
|
2024-09-09 08:57:42 +00:00
|
|
|
select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
|
|
|
|
select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
|
2024-09-09 08:52:07 +00:00
|
|
|
help
|
|
|
|
CPU idle is a generic framework for supporting software-controlled
|
|
|
|
idle processor power management. It includes modular cross-platform
|
|
|
|
governors that can be swapped during runtime.
|
|
|
|
|
|
|
|
If you're using an ACPI-enabled platform, you should say Y here.
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
if CPU_IDLE
|
|
|
|
|
|
|
|
config CPU_IDLE_MULTIPLE_DRIVERS
|
|
|
|
bool
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
config CPU_IDLE_GOV_LADDER
|
2024-09-09 08:57:42 +00:00
|
|
|
bool "Ladder governor (for periodic timer tick)"
|
2024-09-09 08:52:07 +00:00
|
|
|
default y
|
|
|
|
|
|
|
|
config CPU_IDLE_GOV_MENU
|
2024-09-09 08:57:42 +00:00
|
|
|
bool "Menu governor (for tickless system)"
|
2024-09-09 08:52:07 +00:00
|
|
|
default y
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
config DT_IDLE_STATES
|
|
|
|
bool
|
|
|
|
|
|
|
|
menu "ARM CPU Idle Drivers"
|
|
|
|
depends on ARM
|
|
|
|
source "drivers/cpuidle/Kconfig.arm"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "ARM64 CPU Idle Drivers"
|
|
|
|
depends on ARM64
|
|
|
|
source "drivers/cpuidle/Kconfig.arm64"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "MIPS CPU Idle Drivers"
|
|
|
|
depends on MIPS
|
|
|
|
source "drivers/cpuidle/Kconfig.mips"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "POWERPC CPU Idle Drivers"
|
|
|
|
depends on PPC
|
|
|
|
source "drivers/cpuidle/Kconfig.powerpc"
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
config ARCH_NEEDS_CPU_IDLE_COUPLED
|
|
|
|
def_bool n
|
2024-09-09 08:57:42 +00:00
|
|
|
endmenu
|