blob: 42d3798c88f0d2ae8cd24abc9045eaec0beffe96 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Srinivas Pandruvada75d23642013-10-11 16:54:56 -07002#
3# Generic power capping sysfs interface configuration
4#
5
6menuconfig POWERCAP
7 bool "Generic powercap sysfs driver"
8 help
9 The power capping sysfs interface allows kernel subsystems to expose power
10 capping settings to user space in a consistent way. Usually, it consists
11 of multiple control types that determine which settings may be exposed and
12 power zones representing parts of the system that can be subject to power
13 capping.
14
15 If you want this code to be compiled in, say Y here.
16
17if POWERCAP
18# Client driver configurations go here.
Jacob Pan2d281d82013-10-17 10:28:35 -070019config INTEL_RAPL
20 tristate "Intel RAPL Support"
Jacob Pan24b59842014-11-12 10:50:36 -080021 depends on X86 && IOSF_MBI
Jacob Pan2d281d82013-10-17 10:28:35 -070022 default n
23 ---help---
24 This enables support for the Intel Running Average Power Limit (RAPL)
25 technology which allows power limits to be enforced and monitored on
26 modern Intel processors (Sandy Bridge and later).
27
28 In RAPL, the platform level settings are divided into domains for
29 fine grained control. These domains include processor package, DRAM
30 controller, CPU core (Power Plance 0), graphics uncore (Power Plane
31 1), etc.
Srinivas Pandruvada75d23642013-10-11 16:54:56 -070032
Daniel Lezcano88763a52018-06-26 12:53:29 +020033config IDLE_INJECT
34 bool "Idle injection framework"
35 depends on CPU_IDLE
36 default n
37 help
38 This enables support for the idle injection framework. It
39 provides a way to force idle periods on a set of specified
40 CPUs for power capping. Idle period can be injected
41 synchronously on a set of specified CPUs or alternatively
42 on a per CPU basis.
Srinivas Pandruvada75d23642013-10-11 16:54:56 -070043endif