Blame view

drivers/cpuidle/Kconfig 2.09 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
b98e01ad4   Sahara   cpuidle: Add Kcon...
2
  menu "CPU Idle"
4f86d3a8e   Len Brown   cpuidle: consolid...
3

b98e01ad4   Sahara   cpuidle: Add Kcon...
4
  config CPU_IDLE
4f86d3a8e   Len Brown   cpuidle: consolid...
5
  	bool "CPU idle PM support"
aa491ad3d   Benjamin Herrenschmidt   cpuidle: Default ...
6
  	default y if ACPI || PPC_PSERIES
d6f346f2d   Daniel Lezcano   cpuidle: improve ...
7
  	select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE)
b26bf6ab7   Rafael J. Wysocki   cpuidle: New time...
8
  	select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) && !CPU_IDLE_GOV_TEO
4f86d3a8e   Len Brown   cpuidle: consolid...
9
10
11
12
  	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.
60555e371   len.brown@intel.com   ACPI: CONFIG_CPU_...
13
  	  If you're using an ACPI-enabled platform, you should say Y here.
4f86d3a8e   Len Brown   cpuidle: consolid...
14

d6f346f2d   Daniel Lezcano   cpuidle: improve ...
15
  if CPU_IDLE
bf4d1b5dd   Daniel Lezcano   cpuidle: support ...
16
  config CPU_IDLE_MULTIPLE_DRIVERS
656b4e639   Krzysztof Kozlowski   cpuidle: Fix Kcon...
17
  	bool
bf4d1b5dd   Daniel Lezcano   cpuidle: support ...
18

4f86d3a8e   Len Brown   cpuidle: consolid...
19
  config CPU_IDLE_GOV_LADDER
d6f346f2d   Daniel Lezcano   cpuidle: improve ...
20
  	bool "Ladder governor (for periodic timer tick)"
4f86d3a8e   Len Brown   cpuidle: consolid...
21
22
  
  config CPU_IDLE_GOV_MENU
d6f346f2d   Daniel Lezcano   cpuidle: improve ...
23
  	bool "Menu governor (for tickless system)"
4126c0197   Colin Cross   cpuidle: add supp...
24

b26bf6ab7   Rafael J. Wysocki   cpuidle: New time...
25
26
27
28
29
30
31
32
  config CPU_IDLE_GOV_TEO
  	bool "Timer events oriented (TEO) governor (for tickless systems)"
  	help
  	  This governor implements a simplified idle state selection method
  	  focused on timer events and does not do any interactivity boosting.
  
  	  Some workloads benefit from using it and it generally should be safe
  	  to use.  Say Y here if you are not happy with the alternatives.
2cffe9f6b   Marcelo Tosatti   cpuidle: add halt...
33
34
35
36
37
38
39
40
41
42
  config CPU_IDLE_GOV_HALTPOLL
  	bool "Haltpoll governor (for virtualized systems)"
  	depends on KVM_GUEST
  	help
  	  This governor implements haltpoll idle state selection, to be
  	  used in conjunction with the haltpoll cpuidle driver, allowing
  	  for polling for a certain amount of time before entering idle
  	  state.
  
  	  Some virtualized workloads benefit from using it.
9f14da345   Lorenzo Pieralisi   drivers: cpuidle:...
43
44
  config DT_IDLE_STATES
  	bool
b98e01ad4   Sahara   cpuidle: Add Kcon...
45
  menu "ARM CPU Idle Drivers"
0e0870448   Daniel Lezcano   ARM: cpuidle: Ena...
46
  depends on ARM || ARM64
b98e01ad4   Sahara   cpuidle: Add Kcon...
47
48
  source "drivers/cpuidle/Kconfig.arm"
  endmenu
bd2a337a2   Michal Simek   ARM: zynq: Add cp...
49

d05089443   Paul Burton   cpuidle: cpuidle-...
50
51
52
53
  menu "MIPS CPU Idle Drivers"
  depends on MIPS
  source "drivers/cpuidle/Kconfig.mips"
  endmenu
962e7bd49   Deepthi Dharwar   powerpc/pseries/c...
54
55
56
57
  menu "POWERPC CPU Idle Drivers"
  depends on PPC
  source "drivers/cpuidle/Kconfig.powerpc"
  endmenu
fa86ee90e   Marcelo Tosatti   add cpuidle-haltp...
58
  config HALTPOLL_CPUIDLE
656b4e639   Krzysztof Kozlowski   cpuidle: Fix Kcon...
59
60
61
62
63
64
65
  	tristate "Halt poll cpuidle driver"
  	depends on X86 && KVM_GUEST
  	default y
  	help
  	 This option enables halt poll cpuidle driver, which allows to poll
  	 before halting in the guest (more efficient than polling in the
  	 host via halt_poll_ns for some scenarios).
fa86ee90e   Marcelo Tosatti   add cpuidle-haltp...
66

be6a98d3f   Rob Herring   cpuidle: add Calx...
67
  endif
b39b0981b   Daniel Lezcano   cpuidle: Fix ARCH...
68
69
70
  
  config ARCH_NEEDS_CPU_IDLE_COUPLED
  	def_bool n
b98e01ad4   Sahara   cpuidle: Add Kcon...
71
  endmenu