Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-2.6-block.git] / drivers / cpuidle / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
b98e01ad 2menu "CPU Idle"
4f86d3a8 3
b98e01ad 4config CPU_IDLE
4f86d3a8 5 bool "CPU idle PM support"
aa491ad3 6 default y if ACPI || PPC_PSERIES
d6f346f2 7 select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
b26bf6ab 8 select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) && !CPU_IDLE_GOV_TEO
4f86d3a8
LB
9 help
10 CPU idle is a generic framework for supporting software-controlled
11 idle processor power management. It includes modular cross-platform
12 governors that can be swapped during runtime.
13
60555e37 14 If you're using an ACPI-enabled platform, you should say Y here.
4f86d3a8 15
d6f346f2
DL
16if CPU_IDLE
17
bf4d1b5d 18config CPU_IDLE_MULTIPLE_DRIVERS
3a4a267e 19 bool
bf4d1b5d 20
4f86d3a8 21config CPU_IDLE_GOV_LADDER
d6f346f2 22 bool "Ladder governor (for periodic timer tick)"
4f86d3a8
LB
23
24config CPU_IDLE_GOV_MENU
d6f346f2 25 bool "Menu governor (for tickless system)"
4126c019 26
b26bf6ab
RW
27config CPU_IDLE_GOV_TEO
28 bool "Timer events oriented (TEO) governor (for tickless systems)"
29 help
30 This governor implements a simplified idle state selection method
31 focused on timer events and does not do any interactivity boosting.
32
33 Some workloads benefit from using it and it generally should be safe
34 to use. Say Y here if you are not happy with the alternatives.
35
9f14da34
LP
36config DT_IDLE_STATES
37 bool
38
b98e01ad 39menu "ARM CPU Idle Drivers"
0e087044 40depends on ARM || ARM64
b98e01ad
S
41source "drivers/cpuidle/Kconfig.arm"
42endmenu
bd2a337a 43
d0508944
PB
44menu "MIPS CPU Idle Drivers"
45depends on MIPS
46source "drivers/cpuidle/Kconfig.mips"
47endmenu
48
962e7bd4
DD
49menu "POWERPC CPU Idle Drivers"
50depends on PPC
51source "drivers/cpuidle/Kconfig.powerpc"
52endmenu
53
be6a98d3 54endif
b39b0981
DL
55
56config ARCH_NEEDS_CPU_IDLE_COUPLED
57 def_bool n
b98e01ad 58endmenu