Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 1 | |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 2 | menuconfig CPU_IDLE |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 3 | bool "CPU idle PM support" |
Benjamin Herrenschmidt | aa491ad | 2012-02-22 16:04:24 +1100 | [diff] [blame] | 4 | default y if ACPI || PPC_PSERIES |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 5 | select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE) |
| 6 | select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 7 | help |
| 8 | CPU idle is a generic framework for supporting software-controlled |
| 9 | idle processor power management. It includes modular cross-platform |
| 10 | governors that can be swapped during runtime. |
| 11 | |
len.brown@intel.com | 60555e3 | 2007-11-19 22:22:37 -0500 | [diff] [blame] | 12 | 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] | 13 | |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 14 | if CPU_IDLE |
| 15 | |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 16 | config CPU_IDLE_MULTIPLE_DRIVERS |
| 17 | bool "Support multiple cpuidle drivers" |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 18 | default n |
| 19 | help |
| 20 | Allows the cpuidle framework to use different drivers for each CPU. |
| 21 | This is useful if you have a system with different CPU latencies and |
| 22 | states. If unsure say N. |
| 23 | |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 24 | config CPU_IDLE_GOV_LADDER |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 25 | bool "Ladder governor (for periodic timer tick)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 26 | default y |
| 27 | |
| 28 | config CPU_IDLE_GOV_MENU |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 29 | bool "Menu governor (for tickless system)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 30 | default y |
Colin Cross | 4126c01 | 2012-05-07 17:57:41 -0700 | [diff] [blame] | 31 | |
Rob Herring | be6a98d | 2012-10-12 12:45:34 -0500 | [diff] [blame] | 32 | config CPU_IDLE_CALXEDA |
| 33 | bool "CPU Idle Driver for Calxeda processors" |
| 34 | depends on ARCH_HIGHBANK |
Arnd Bergmann | 6eed846 | 2013-04-30 23:00:47 +0200 | [diff] [blame] | 35 | select ARM_CPU_SUSPEND |
Rob Herring | be6a98d | 2012-10-12 12:45:34 -0500 | [diff] [blame] | 36 | help |
| 37 | Select this to enable cpuidle on Calxeda processors. |
| 38 | |
Michal Simek | bd2a337 | 2013-06-04 07:17:39 +0000 | [diff] [blame] | 39 | config CPU_IDLE_ZYNQ |
| 40 | bool "CPU Idle Driver for Xilinx Zynq processors" |
| 41 | depends on ARCH_ZYNQ |
| 42 | help |
| 43 | Select this to enable cpuidle on Xilinx Zynq processors. |
| 44 | |
Rob Herring | be6a98d | 2012-10-12 12:45:34 -0500 | [diff] [blame] | 45 | endif |
Daniel Lezcano | b39b098 | 2013-06-11 08:09:45 +0000 | [diff] [blame] | 46 | |
| 47 | config ARCH_NEEDS_CPU_IDLE_COUPLED |
| 48 | def_bool n |