Kconfig 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. depends on PCI
  19. select IOSF_MBI
  20. config INTEL_RAPL
  21. tristate "Intel RAPL Support via MSR Interface"
  22. depends on X86 && PCI
  23. select INTEL_RAPL_CORE
  24. help
  25. This enables support for the Intel Running Average Power Limit (RAPL)
  26. technology via MSR interface, which allows power limits to be enforced
  27. and monitored on modern Intel processors (Sandy Bridge and later).
  28. In RAPL, the platform level settings are divided into domains for
  29. fine grained control. These domains include processor package, DRAM
  30. controller, CPU core (Power Plane 0), graphics uncore (Power Plane
  31. 1), etc.
  32. config IDLE_INJECT
  33. bool "Idle injection framework"
  34. depends on CPU_IDLE
  35. default n
  36. help
  37. This enables support for the idle injection framework. It
  38. provides a way to force idle periods on a set of specified
  39. CPUs for power capping. Idle period can be injected
  40. synchronously on a set of specified CPUs or alternatively
  41. on a per CPU basis.
  42. config QCOM_EPM
  43. tristate "Qualcomm Technologies, Inc. EPM Hardware driver"
  44. depends on SPMI && NVMEM_SPMI_SDAM
  45. default n
  46. help
  47. This enables Qualcomm Technologies, Inc. epm hardware
  48. device driver. It provides to measure different pmic
  49. regulators or bucks power consumption data in different
  50. modes. It exposes these data to userspace clients via
  51. powercap sysfs interface.
  52. config DTPM
  53. bool "Power capping for Dynamic Thermal Power Management (EXPERIMENTAL)"
  54. depends on OF
  55. help
  56. This enables support for the power capping for the dynamic
  57. thermal power management userspace engine.
  58. config DTPM_CPU
  59. bool "Add CPU power capping based on the energy model"
  60. depends on DTPM && ENERGY_MODEL
  61. help
  62. This enables support for CPU power limitation based on
  63. energy model.
  64. config DTPM_DEVFREQ
  65. bool "Add device power capping based on the energy model"
  66. depends on DTPM && ENERGY_MODEL
  67. help
  68. This enables support for device power limitation based on
  69. energy model.
  70. endif