97 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Generic power capping sysfs interface configuration4#5 6menuconfig POWERCAP7 bool "Generic powercap sysfs driver"8 help9 The power capping sysfs interface allows kernel subsystems to expose power10 capping settings to user space in a consistent way. Usually, it consists11 of multiple control types that determine which settings may be exposed and12 power zones representing parts of the system that can be subject to power13 capping.14 15 If you want this code to be compiled in, say Y here.16 17if POWERCAP18# Client driver configurations go here.19config INTEL_RAPL_CORE20 tristate21 depends on PCI22 select IOSF_MBI23 24config INTEL_RAPL25 tristate "Intel RAPL Support via MSR Interface"26 depends on X86 && PCI27 select INTEL_RAPL_CORE28 help29 This enables support for the Intel Running Average Power Limit (RAPL)30 technology via MSR interface, which allows power limits to be enforced31 and monitored on modern Intel processors (Sandy Bridge and later).32 33 In RAPL, the platform level settings are divided into domains for34 fine grained control. These domains include processor package, DRAM35 controller, CPU core (Power Plane 0), graphics uncore (Power Plane36 1), etc.37 38config INTEL_RAPL_TPMI39 tristate "Intel RAPL Support via TPMI Interface"40 depends on X8641 depends on INTEL_TPMI42 select INTEL_RAPL_CORE43 help44 This enables support for the Intel Running Average Power Limit (RAPL)45 technology via TPMI interface, which allows power limits to be enforced46 and monitored.47 48 In RAPL, the platform level settings are divided into domains for49 fine grained control. These domains include processor package, DRAM50 controller, platform, etc.51 52config IDLE_INJECT53 bool "Idle injection framework"54 depends on CPU_IDLE55 default n56 help57 This enables support for the idle injection framework. It58 provides a way to force idle periods on a set of specified59 CPUs for power capping. Idle period can be injected60 synchronously on a set of specified CPUs or alternatively61 on a per CPU basis.62 63config ARM_SCMI_POWERCAP64 tristate "ARM SCMI Powercap driver"65 depends on ARM_SCMI_PROTOCOL66 help67 This enables support for the ARM Powercap based on ARM SCMI68 Powercap protocol.69 70 ARM SCMI Powercap protocol allows power limits to be enforced71 and monitored against the SCMI Powercap domains advertised as72 available by the SCMI platform firmware.73 74 When compiled as module it will be called arm_scmi_powercap.ko.75 76config DTPM77 bool "Power capping for Dynamic Thermal Power Management (EXPERIMENTAL)"78 depends on OF79 help80 This enables support for the power capping for the dynamic81 thermal power management userspace engine.82 83config DTPM_CPU84 bool "Add CPU power capping based on the energy model"85 depends on DTPM && ENERGY_MODEL86 help87 This enables support for CPU power limitation based on88 energy model.89 90config DTPM_DEVFREQ91 bool "Add device power capping based on the energy model"92 depends on DTPM && ENERGY_MODEL93 help94 This enables support for device power limitation based on95 energy model.96endif97