Blame view

drivers/powercap/Kconfig 1.52 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
75d2364ea   Srinivas Pandruvada   PowerCap: Add cla...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #
  # Generic power capping sysfs interface configuration
  #
  
  menuconfig POWERCAP
  	bool "Generic powercap sysfs driver"
  	help
  	  The power capping sysfs interface allows kernel subsystems to expose power
  	  capping settings to user space in a consistent way.  Usually, it consists
  	  of multiple control types that determine which settings may be exposed and
  	  power zones representing parts of the system that can be subject to power
  	  capping.
  
  	  If you want this code to be compiled in, say Y here.
  
  if POWERCAP
  # Client driver configurations go here.
3382388d7   Zhang Rui   intel_rapl: abstr...
19
20
  config INTEL_RAPL_CORE
  	tristate
2d281d819   Jacob Pan   PowerCap: Introdu...
21
  config INTEL_RAPL
3382388d7   Zhang Rui   intel_rapl: abstr...
22
  	tristate "Intel RAPL Support via MSR Interface"
24b598411   Jacob Pan   powercap / RAPL: ...
23
  	depends on X86 && IOSF_MBI
3382388d7   Zhang Rui   intel_rapl: abstr...
24
  	select INTEL_RAPL_CORE
a7f7f6248   Masahiro Yamada   treewide: replace...
25
  	help
2d281d819   Jacob Pan   PowerCap: Introdu...
26
  	  This enables support for the Intel Running Average Power Limit (RAPL)
3382388d7   Zhang Rui   intel_rapl: abstr...
27
28
  	  technology via MSR interface, which allows power limits to be enforced
  	  and monitored on modern Intel processors (Sandy Bridge and later).
2d281d819   Jacob Pan   PowerCap: Introdu...
29
30
31
  
  	  In RAPL, the platform level settings are divided into domains for
  	  fine grained control. These domains include processor package, DRAM
f8fee6e63   Hubert Jasudowicz   powercap: Fix typ...
32
  	  controller, CPU core (Power Plane 0), graphics uncore (Power Plane
2d281d819   Jacob Pan   PowerCap: Introdu...
33
  	  1), etc.
75d2364ea   Srinivas Pandruvada   PowerCap: Add cla...
34

88763a5cf   Daniel Lezcano   powercap / idle_i...
35
36
37
38
39
40
41
42
43
44
  config IDLE_INJECT
  	bool "Idle injection framework"
  	depends on CPU_IDLE
  	default n
  	help
  	  This enables support for the idle injection framework. It
  	  provides a way to force idle periods on a set of specified
  	  CPUs for power capping. Idle period can be injected
  	  synchronously on a set of specified CPUs or alternatively
  	  on a per CPU basis.
75d2364ea   Srinivas Pandruvada   PowerCap: Add cla...
45
  endif