Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpuidle: Don't enable all governors by default

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>

authored by

Jean Delvare and committed by
Rafael J. Wysocki
10475b34 66a5f6b6

-2
-2
drivers/cpuidle/Kconfig
··· 19 19 20 20 config CPU_IDLE_GOV_LADDER 21 21 bool "Ladder governor (for periodic timer tick)" 22 - default y 23 22 24 23 config CPU_IDLE_GOV_MENU 25 24 bool "Menu governor (for tickless system)" 26 - default y 27 25 28 26 config DT_IDLE_STATES 29 27 bool