Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Generic power capping sysfs interface configuration
  4. #
  5. menuconfig POWERCAP
  6. bool "Generic powercap sysfs driver"
  7. help
  8. The power capping sysfs interface allows kernel subsystems to expose power
  9. capping settings to user space in a consistent way. Usually, it consists
  10. of multiple control types that determine which settings may be exposed and
  11. power zones representing parts of the system that can be subject to power
  12. capping.
  13. If you want this code to be compiled in, say Y here.
  14. if POWERCAP
  15. # Client driver configurations go here.
  16. config INTEL_RAPL_CORE
  17. tristate
  18. config INTEL_RAPL
  19. tristate "Intel RAPL Support via MSR Interface"
  20. depends on X86 && IOSF_MBI
  21. select INTEL_RAPL_CORE
  22. help
  23. This enables support for the Intel Running Average Power Limit (RAPL)
  24. technology via MSR interface, which allows power limits to be enforced
  25. and monitored on modern Intel processors (Sandy Bridge and later).
  26. In RAPL, the platform level settings are divided into domains for
  27. fine grained control. These domains include processor package, DRAM
  28. controller, CPU core (Power Plane 0), graphics uncore (Power Plane
  29. 1), etc.
  30. config IDLE_INJECT
  31. bool "Idle injection framework"
  32. depends on CPU_IDLE
  33. default n
  34. help
  35. This enables support for the idle injection framework. It
  36. provides a way to force idle periods on a set of specified
  37. CPUs for power capping. Idle period can be injected
  38. synchronously on a set of specified CPUs or alternatively
  39. on a per CPU basis.
  40. config DTPM
  41. bool "Power capping for Dynamic Thermal Power Management (EXPERIMENTAL)"
  42. help
  43. This enables support for the power capping for the dynamic
  44. thermal power management userspace engine.
  45. config DTPM_CPU
  46. bool "Add CPU power capping based on the energy model"
  47. depends on DTPM && ENERGY_MODEL
  48. help
  49. This enables support for CPU power limitation based on
  50. energy model.
  51. endif