Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 2 | menu "CPU Idle" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 3 | |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 4 | config CPU_IDLE |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 5 | bool "CPU idle PM support" |
Benjamin Herrenschmidt | aa491ad | 2012-02-22 16:04:24 +1100 | [diff] [blame] | 6 | default y if ACPI || PPC_PSERIES |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 7 | select CPU_IDLE_GOV_LADDER if (!NO_HZ && !NO_HZ_IDLE) |
Rafael J. Wysocki | b26bf6a | 2019-01-04 12:30:47 +0100 | [diff] [blame] | 8 | select CPU_IDLE_GOV_MENU if (NO_HZ || NO_HZ_IDLE) && !CPU_IDLE_GOV_TEO |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 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 | |
len.brown@intel.com | 60555e3 | 2007-11-19 22:22:37 -0500 | [diff] [blame] | 14 | 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] | 15 | |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 16 | if CPU_IDLE |
| 17 | |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 18 | config CPU_IDLE_MULTIPLE_DRIVERS |
Daniel Lezcano | 3a4a267 | 2014-07-23 19:02:47 +0200 | [diff] [blame] | 19 | bool |
Daniel Lezcano | bf4d1b5 | 2012-10-31 16:44:48 +0000 | [diff] [blame] | 20 | |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 21 | config CPU_IDLE_GOV_LADDER |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 22 | bool "Ladder governor (for periodic timer tick)" |
Len Brown | 4f86d3a | 2007-10-03 18:58:00 -0400 | [diff] [blame] | 23 | |
| 24 | config CPU_IDLE_GOV_MENU |
Daniel Lezcano | d6f346f | 2013-05-28 15:51:54 +0000 | [diff] [blame] | 25 | bool "Menu governor (for tickless system)" |
Colin Cross | 4126c01 | 2012-05-07 17:57:41 -0700 | [diff] [blame] | 26 | |
Rafael J. Wysocki | b26bf6a | 2019-01-04 12:30:47 +0100 | [diff] [blame] | 27 | config 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 | |
Lorenzo Pieralisi | 9f14da3 | 2014-02-14 14:28:39 +0000 | [diff] [blame] | 36 | config DT_IDLE_STATES |
| 37 | bool |
| 38 | |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 39 | menu "ARM CPU Idle Drivers" |
Daniel Lezcano | 0e08704 | 2015-02-02 16:32:46 +0100 | [diff] [blame] | 40 | depends on ARM || ARM64 |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 41 | source "drivers/cpuidle/Kconfig.arm" |
| 42 | endmenu |
Michal Simek | bd2a337 | 2013-06-04 07:17:39 +0000 | [diff] [blame] | 43 | |
Paul Burton | d050894 | 2014-04-14 16:25:29 +0100 | [diff] [blame] | 44 | menu "MIPS CPU Idle Drivers" |
| 45 | depends on MIPS |
| 46 | source "drivers/cpuidle/Kconfig.mips" |
| 47 | endmenu |
| 48 | |
Deepthi Dharwar | 962e7bd | 2014-01-14 16:26:02 +0530 | [diff] [blame] | 49 | menu "POWERPC CPU Idle Drivers" |
| 50 | depends on PPC |
| 51 | source "drivers/cpuidle/Kconfig.powerpc" |
| 52 | endmenu |
| 53 | |
Rob Herring | be6a98d | 2012-10-12 12:45:34 -0500 | [diff] [blame] | 54 | endif |
Daniel Lezcano | b39b098 | 2013-06-11 08:09:45 +0000 | [diff] [blame] | 55 | |
| 56 | config ARCH_NEEDS_CPU_IDLE_COUPLED |
| 57 | def_bool n |
Sahara | b98e01a | 2013-07-03 17:49:55 +0900 | [diff] [blame] | 58 | endmenu |