| .. | .. |
|---|
| 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 | + depends on PCI |
|---|
| 22 | + select IOSF_MBI |
|---|
| 23 | + |
|---|
| 18 | 24 | config INTEL_RAPL |
|---|
| 19 | | - tristate "Intel RAPL Support" |
|---|
| 20 | | - depends on X86 && IOSF_MBI |
|---|
| 21 | | - default n |
|---|
| 22 | | - ---help--- |
|---|
| 25 | + tristate "Intel RAPL Support via MSR Interface" |
|---|
| 26 | + depends on X86 && PCI |
|---|
| 27 | + select INTEL_RAPL_CORE |
|---|
| 28 | + help |
|---|
| 23 | 29 | 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). |
|---|
| 30 | + technology via MSR interface, which allows power limits to be enforced |
|---|
| 31 | + and monitored on modern Intel processors (Sandy Bridge and later). |
|---|
| 26 | 32 | |
|---|
| 27 | 33 | In RAPL, the platform level settings are divided into domains for |
|---|
| 28 | 34 | fine grained control. These domains include processor package, DRAM |
|---|
| 29 | | - controller, CPU core (Power Plance 0), graphics uncore (Power Plane |
|---|
| 35 | + controller, CPU core (Power Plane 0), graphics uncore (Power Plane |
|---|
| 30 | 36 | 1), etc. |
|---|
| 31 | 37 | |
|---|
| 32 | 38 | config IDLE_INJECT |
|---|
| .. | .. |
|---|
| 39 | 45 | CPUs for power capping. Idle period can be injected |
|---|
| 40 | 46 | synchronously on a set of specified CPUs or alternatively |
|---|
| 41 | 47 | on a per CPU basis. |
|---|
| 48 | + |
|---|
| 49 | +config 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 | + |
|---|
| 55 | +config 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. |
|---|
| 42 | 61 | endif |
|---|