1# SPDX-License-Identifier: GPL-2.0-only 2# 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. 19config INTEL_RAPL_CORE 20 tristate 21 depends on PCI 22 select IOSF_MBI 23 24config INTEL_RAPL 25 tristate "Intel RAPL Support via MSR Interface" 26 depends on X86 && PCI 27 select INTEL_RAPL_CORE 28 help 29 This enables support for the Intel Running Average Power Limit (RAPL) 30 technology via MSR interface, which allows power limits to be enforced 31 and monitored on modern Intel processors (Sandy Bridge and later). 32 33 In RAPL, the platform level settings are divided into domains for 34 fine grained control. These domains include processor package, DRAM 35 controller, CPU core (Power Plane 0), graphics uncore (Power Plane 36 1), etc. 37 38config IDLE_INJECT 39 bool "Idle injection framework" 40 depends on CPU_IDLE 41 default n 42 help 43 This enables support for the idle injection framework. It 44 provides a way to force idle periods on a set of specified 45 CPUs for power capping. Idle period can be injected 46 synchronously on a set of specified CPUs or alternatively 47 on a per CPU basis. 48 49config DTPM 50 bool "Power capping for Dynamic Thermal Power Management (EXPERIMENTAL)" 51 help 52 This enables support for the power capping for the dynamic 53 thermal power management userspace engine. 54 55config DTPM_CPU 56 bool "Add CPU power capping based on the energy model" 57 depends on DTPM && ENERGY_MODEL 58 help 59 This enables support for CPU power limitation based on 60 energy model. 61endif 62