Kconfig.x86 9.1 KB

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