Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame^] | 1 | menu "CPU Idle" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 2 | |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame^] | 3 | config CPU_IDLE |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 4 | bool "CPU idle PM support" |
Benjamin Herrenschmidt | aa491ad | 2012-02-22 16:04:24 +1100 | [diff] [blame] | 5 | default y if ACPI || PPC_PSERIES |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 6 | select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE) |
| 7 | select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 8 | help |
| 9 | CPU idle is a generic framework for supporting software-controlled |
| 10 | idle processor power management. It includes modular cross-platform |
| 11 | governors that can be swapped during runtime. |
| 12 | |
len.brown@intel.com | 60555e3 | 2007-11-19 22:22:37 -0500 | [diff] [blame] | 13 | If you're using an ACPI-enabled platform, you should say Y here. |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 14 | |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 15 | if CPU_IDLE |
| 16 | |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 17 | config CPU_IDLE_MULTIPLE_DRIVERS |
| 18 | bool "Support multiple cpuidle drivers" |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 19 | default n |
| 20 | help |
| 21 | Allows the cpuidle framework to use different drivers for each CPU. |
| 22 | This is useful if you have a system with different CPU latencies and |
| 23 | states. If unsure say N. |
| 24 | |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 25 | config CPU_IDLE_GOV_LADDER |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 26 | bool "Ladder governor (for periodic timer tick)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 27 | default y |
| 28 | |
| 29 | config CPU_IDLE_GOV_MENU |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 30 | bool "Menu governor (for tickless system)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 31 | default y |
Colin Cross | 4126c01 | 2012-05-07 17:57:41 -0700 | [diff] [blame] | 32 | |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame^] | 33 | menu "ARM CPU Idle Drivers" |
| 34 | depends on ARM |
| 35 | source "drivers/cpuidle/Kconfig.arm" |
| 36 | endmenu |
Michal Simek | bd2a337 | 2013-06-04 07:17:39 +0000 | [diff] [blame] | 37 | |
Rob Herring | be6a98d | 2012-10-12 12:45:34 -0500 | [diff] [blame] | 38 | endif |
Daniel Lezcano | b39b098 | 2013-06-11 08:09:45 +0000 | [diff] [blame] | 39 | |
| 40 | config ARCH_NEEDS_CPU_IDLE_COUPLED |
| 41 | def_bool n |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame^] | 42 | endmenu |