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