mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
10475b34f4
Since commit d6f346f2d2
(cpuidle: improve governor Kconfig options)
the best cpuidle governor is selected automatically. There is little
point in additionally selecting the other one as it will not be used,
so don't select both governors by default.
Being able to select more than one governor is still good for
developers booting with cpuidle_sysfs_switch, though.
This fixes the second half of kernel BZ #65531.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=65531
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
menu "CPU Idle"
|
|
|
|
config CPU_IDLE
|
|
bool "CPU idle PM support"
|
|
default y if ACPI || PPC_PSERIES
|
|
select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
|
|
select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE)
|
|
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.
|
|
|
|
if CPU_IDLE
|
|
|
|
config CPU_IDLE_MULTIPLE_DRIVERS
|
|
bool
|
|
|
|
config CPU_IDLE_GOV_LADDER
|
|
bool "Ladder governor (for periodic timer tick)"
|
|
|
|
config CPU_IDLE_GOV_MENU
|
|
bool "Menu governor (for tickless system)"
|
|
|
|
config DT_IDLE_STATES
|
|
bool
|
|
|
|
menu "ARM CPU Idle Drivers"
|
|
depends on ARM || ARM64
|
|
source "drivers/cpuidle/Kconfig.arm"
|
|
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
|
|
|
|
config ARCH_NEEDS_CPU_IDLE_COUPLED
|
|
def_bool n
|
|
endmenu
|