Kconfig.x86 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # x86 CPU Frequency scaling drivers
  4. #
  5. config X86_INTEL_PSTATE
  6. bool "Intel P state control"
  7. depends on X86
  8. select ACPI_PROCESSOR if ACPI
  9. select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
  10. select CPU_FREQ_GOV_PERFORMANCE
  11. select CPU_FREQ_GOV_SCHEDUTIL if SMP
  12. help
  13. This driver provides a P state for Intel core processors.
  14. The driver implements an internal governor and will become
  15. the scaling driver and governor for Sandy bridge processors.
  16. When this driver is enabled it will become the preferred
  17. scaling driver for Sandy bridge processors.
  18. If in doubt, say N.
  19. config X86_PCC_CPUFREQ
  20. tristate "Processor Clocking Control interface driver"
  21. depends on ACPI && ACPI_PROCESSOR
  22. help
  23. This driver adds support for the PCC interface.
  24. For details, take a look at:
  25. <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>.
  26. To compile this driver as a module, choose M here: the
  27. module will be called pcc-cpufreq.
  28. If in doubt, say N.
  29. config X86_AMD_PSTATE
  30. bool "AMD Processor P-State driver"
  31. depends on X86 && ACPI
  32. select ACPI_PROCESSOR
  33. select ACPI_CPPC_LIB if X86_64
  34. select CPU_FREQ_GOV_SCHEDUTIL if SMP
  35. help
  36. This driver adds a CPUFreq driver which utilizes a fine grain
  37. processor performance frequency control range instead of legacy
  38. performance levels. _CPC needs to be present in the ACPI tables
  39. of the system.
  40. For details, take a look at:
  41. <file:Documentation/admin-guide/pm/amd-pstate.rst>.
  42. If in doubt, say N.
  43. config X86_AMD_PSTATE_UT
  44. tristate "selftest for AMD Processor P-State driver"
  45. depends on X86 && ACPI_PROCESSOR
  46. default n
  47. help
  48. This kernel module is used for testing. It's safe to say M here.
  49. It can also be built-in without X86_AMD_PSTATE enabled.
  50. Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE
  51. is set disabled, it can tell the users test can only run on amd-pstate
  52. driver, please set X86_AMD_PSTATE enabled.
  53. In the future, comparison tests will be added. It can set amd-pstate
  54. disabled and set acpi-cpufreq enabled to run test cases, then compare
  55. the test results.
  56. config X86_ACPI_CPUFREQ
  57. tristate "ACPI Processor P-States driver"
  58. depends on ACPI_PROCESSOR
  59. help
  60. This driver adds a CPUFreq driver which utilizes the ACPI
  61. Processor Performance States.
  62. This driver also supports Intel Enhanced Speedstep and newer
  63. AMD CPUs.
  64. To compile this driver as a module, choose M here: the
  65. module will be called acpi-cpufreq.
  66. For details, take a look at <file:Documentation/cpu-freq/>.
  67. If in doubt, say N.
  68. config X86_ACPI_CPUFREQ_CPB
  69. default y
  70. bool "Legacy cpb sysfs knob support for AMD CPUs"
  71. depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD
  72. help
  73. The powernow-k8 driver used to provide a sysfs knob called "cpb"
  74. to disable the Core Performance Boosting feature of AMD CPUs. This
  75. file has now been superseded by the more generic "boost" entry.
  76. By enabling this option the acpi_cpufreq driver provides the old
  77. entry in addition to the new boost ones, for compatibility reasons.
  78. config ELAN_CPUFREQ
  79. tristate "AMD Elan SC400 and SC410"
  80. depends on MELAN
  81. help
  82. This adds the CPUFreq driver for AMD Elan SC400 and SC410
  83. processors.
  84. You need to specify the processor maximum speed as boot
  85. parameter: elanfreq=maxspeed (in kHz) or as module
  86. parameter "max_freq".
  87. For details, take a look at <file:Documentation/cpu-freq/>.
  88. If in doubt, say N.
  89. config SC520_CPUFREQ
  90. tristate "AMD Elan SC520"
  91. depends on MELAN
  92. help
  93. This adds the CPUFreq driver for AMD Elan SC520 processor.
  94. For details, take a look at <file:Documentation/cpu-freq/>.
  95. If in doubt, say N.
  96. config X86_POWERNOW_K6
  97. tristate "AMD Mobile K6-2/K6-3 PowerNow!"
  98. depends on X86_32
  99. help
  100. This adds the CPUFreq driver for mobile AMD K6-2+ and mobile
  101. AMD K6-3+ processors.
  102. For details, take a look at <file:Documentation/cpu-freq/>.
  103. If in doubt, say N.
  104. config X86_POWERNOW_K7
  105. tristate "AMD Mobile Athlon/Duron PowerNow!"
  106. depends on X86_32
  107. help
  108. This adds the CPUFreq driver for mobile AMD K7 mobile processors.
  109. For details, take a look at <file:Documentation/cpu-freq/>.
  110. If in doubt, say N.
  111. config X86_POWERNOW_K7_ACPI
  112. bool
  113. depends on X86_POWERNOW_K7 && ACPI_PROCESSOR
  114. depends on !(X86_POWERNOW_K7 = y && ACPI_PROCESSOR = m)
  115. depends on X86_32
  116. default y
  117. config X86_POWERNOW_K8
  118. tristate "AMD Opteron/Athlon64 PowerNow!"
  119. depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ
  120. help
  121. This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors.
  122. Support for K10 and newer processors is now in acpi-cpufreq.
  123. To compile this driver as a module, choose M here: the
  124. module will be called powernow-k8.
  125. For details, take a look at <file:Documentation/cpu-freq/>.
  126. config X86_AMD_FREQ_SENSITIVITY
  127. tristate "AMD frequency sensitivity feedback powersave bias"
  128. depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD
  129. help
  130. This adds AMD-specific powersave bias function to the ondemand
  131. governor, which allows it to make more power-conscious frequency
  132. change decisions based on feedback from hardware (available on AMD
  133. Family 16h and above).
  134. Hardware feedback tells software how "sensitive" to frequency changes
  135. the CPUs' workloads are. CPU-bound workloads will be more sensitive
  136. -- they will perform better as frequency increases. Memory/IO-bound
  137. workloads will be less sensitive -- they will not necessarily perform
  138. better as frequency increases.
  139. If in doubt, say N.
  140. config X86_GX_SUSPMOD
  141. tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
  142. depends on X86_32 && PCI
  143. help
  144. This add the CPUFreq driver for NatSemi Geode processors which
  145. support suspend modulation.
  146. For details, take a look at <file:Documentation/cpu-freq/>.
  147. If in doubt, say N.
  148. config X86_SPEEDSTEP_CENTRINO
  149. tristate "Intel Enhanced SpeedStep (deprecated)"
  150. select X86_SPEEDSTEP_CENTRINO_TABLE if X86_32
  151. depends on X86_32 || (X86_64 && ACPI_PROCESSOR)
  152. help
  153. This is deprecated and this functionality is now merged into
  154. acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of
  155. speedstep_centrino.
  156. This adds the CPUFreq driver for Enhanced SpeedStep enabled
  157. mobile CPUs. This means Intel Pentium M (Centrino) CPUs
  158. or 64bit enabled Intel Xeons.
  159. To compile this driver as a module, choose M here: the
  160. module will be called speedstep-centrino.
  161. For details, take a look at <file:Documentation/cpu-freq/>.
  162. If in doubt, say N.
  163. config X86_SPEEDSTEP_CENTRINO_TABLE
  164. bool "Built-in tables for Banias CPUs"
  165. depends on X86_32 && X86_SPEEDSTEP_CENTRINO
  166. default y
  167. help
  168. Use built-in tables for Banias CPUs if ACPI encoding
  169. is not available.
  170. If in doubt, say N.
  171. config X86_SPEEDSTEP_ICH
  172. tristate "Intel Speedstep on ICH-M chipsets (ioport interface)"
  173. depends on X86_32
  174. help
  175. This adds the CPUFreq driver for certain mobile Intel Pentium III
  176. (Coppermine), all mobile Intel Pentium III-M (Tualatin) and all
  177. mobile Intel Pentium 4 P4-M on systems which have an Intel ICH2,
  178. ICH3 or ICH4 southbridge.
  179. For details, take a look at <file:Documentation/cpu-freq/>.
  180. If in doubt, say N.
  181. config X86_SPEEDSTEP_SMI
  182. tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)"
  183. depends on X86_32
  184. help
  185. This adds the CPUFreq driver for certain mobile Intel Pentium III
  186. (Coppermine), all mobile Intel Pentium III-M (Tualatin)
  187. on systems which have an Intel 440BX/ZX/MX southbridge.
  188. For details, take a look at <file:Documentation/cpu-freq/>.
  189. If in doubt, say N.
  190. config X86_P4_CLOCKMOD
  191. tristate "Intel Pentium 4 clock modulation"
  192. help
  193. This adds the CPUFreq driver for Intel Pentium 4 / XEON
  194. processors. When enabled it will lower CPU temperature by skipping
  195. clocks.
  196. This driver should be only used in exceptional
  197. circumstances when very low power is needed because it causes severe
  198. slowdowns and noticeable latencies. Normally Speedstep should be used
  199. instead.
  200. To compile this driver as a module, choose M here: the
  201. module will be called p4-clockmod.
  202. For details, take a look at <file:Documentation/cpu-freq/>.
  203. Unless you are absolutely sure say N.
  204. config X86_CPUFREQ_NFORCE2
  205. tristate "nVidia nForce2 FSB changing"
  206. depends on X86_32
  207. help
  208. This adds the CPUFreq driver for FSB changing on nVidia nForce2
  209. platforms.
  210. For details, take a look at <file:Documentation/cpu-freq/>.
  211. If in doubt, say N.
  212. config X86_LONGRUN
  213. tristate "Transmeta LongRun"
  214. depends on X86_32
  215. help
  216. This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors
  217. which support LongRun.
  218. For details, take a look at <file:Documentation/cpu-freq/>.
  219. If in doubt, say N.
  220. config X86_LONGHAUL
  221. tristate "VIA Cyrix III Longhaul"
  222. depends on X86_32 && ACPI_PROCESSOR
  223. help
  224. This adds the CPUFreq driver for VIA Samuel/CyrixIII,
  225. VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T
  226. processors.
  227. For details, take a look at <file:Documentation/cpu-freq/>.
  228. If in doubt, say N.
  229. config X86_E_POWERSAVER
  230. tristate "VIA C7 Enhanced PowerSaver (DANGEROUS)"
  231. depends on X86_32 && ACPI_PROCESSOR
  232. help
  233. This adds the CPUFreq driver for VIA C7 processors. However, this driver
  234. does not have any safeguards to prevent operating the CPU out of spec
  235. and is thus considered dangerous. Please use the regular ACPI cpufreq
  236. driver, enabled by CONFIG_X86_ACPI_CPUFREQ.
  237. If in doubt, say N.
  238. comment "shared options"
  239. config X86_SPEEDSTEP_LIB
  240. tristate
  241. default (X86_SPEEDSTEP_ICH || X86_SPEEDSTEP_SMI || X86_P4_CLOCKMOD)
  242. config X86_SPEEDSTEP_RELAXED_CAP_CHECK
  243. bool "Relaxed speedstep capability checks"
  244. depends on X86_32 && (X86_SPEEDSTEP_SMI || X86_SPEEDSTEP_ICH)
  245. help
  246. Don't perform all checks for a speedstep capable system which would
  247. normally be done. Some ancient or strange systems, though speedstep
  248. capable, don't always indicate that they are speedstep capable. This
  249. option lets the probing code bypass some of those checks if the
  250. parameter "relaxed_check=1" is passed to the module.