Merge tag 'for-5.18/drivers-2022-04-01' of git://git.kernel.dk/linux-block
[linux-block.git] / drivers / cpufreq / Kconfig.x86
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
1da177e4 2#
bb0a56ec 3# x86 CPU Frequency scaling drivers
1da177e4
LT
4#
5
93f0822d 6config X86_INTEL_PSTATE
cde10f85
KK
7 bool "Intel P state control"
8 depends on X86
9 select ACPI_PROCESSOR if ACPI
10 select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
a00ec387
RW
11 select CPU_FREQ_GOV_PERFORMANCE
12 select CPU_FREQ_GOV_SCHEDUTIL if SMP
cde10f85
KK
13 help
14 This driver provides a P state for Intel core processors.
93f0822d 15 The driver implements an internal governor and will become
cde10f85 16 the scaling driver and governor for Sandy bridge processors.
93f0822d 17
735dc249 18 When this driver is enabled it will become the preferred
cde10f85 19 scaling driver for Sandy bridge processors.
93f0822d 20
93f0822d
DB
21 If in doubt, say N.
22
0f1d683f
NC
23config X86_PCC_CPUFREQ
24 tristate "Processor Clocking Control interface driver"
25 depends on ACPI && ACPI_PROCESSOR
26 help
27 This driver adds support for the PCC interface.
28
29 For details, take a look at:
c3419b71 30 <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>.
0f1d683f
NC
31
32 To compile this driver as a module, choose M here: the
33 module will be called pcc-cpufreq.
34
35 If in doubt, say N.
36
ec437d71
HR
37config X86_AMD_PSTATE
38 tristate "AMD Processor P-State driver"
a2e6840b
HR
39 depends on X86 && ACPI
40 select ACPI_PROCESSOR
41 select ACPI_CPPC_LIB if X86_64
ec437d71
HR
42 select CPU_FREQ_GOV_SCHEDUTIL if SMP
43 help
44 This driver adds a CPUFreq driver which utilizes a fine grain
45 processor performance frequency control range instead of legacy
46 performance levels. _CPC needs to be present in the ACPI tables
47 of the system.
48
49 For details, take a look at:
50 <file:Documentation/admin-guide/pm/amd-pstate.rst>.
51
52 If in doubt, say N.
53
1da177e4
LT
54config X86_ACPI_CPUFREQ
55 tristate "ACPI Processor P-States driver"
1da177e4
LT
56 depends on ACPI_PROCESSOR
57 help
58 This driver adds a CPUFreq driver which utilizes the ACPI
59 Processor Performance States.
3dc9a633
MG
60 This driver also supports Intel Enhanced Speedstep and newer
61 AMD CPUs.
1da177e4 62
e8ef9522
SR
63 To compile this driver as a module, choose M here: the
64 module will be called acpi-cpufreq.
65
1da177e4
LT
66 For details, take a look at <file:Documentation/cpu-freq/>.
67
68 If in doubt, say N.
69
11269ff5
AP
70config X86_ACPI_CPUFREQ_CPB
71 default y
72 bool "Legacy cpb sysfs knob support for AMD CPUs"
73 depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD
74 help
75 The powernow-k8 driver used to provide a sysfs knob called "cpb"
76 to disable the Core Performance Boosting feature of AMD CPUs. This
735dc249 77 file has now been superseded by the more generic "boost" entry.
11269ff5
AP
78
79 By enabling this option the acpi_cpufreq driver provides the old
80 entry in addition to the new boost ones, for compatibility reasons.
81
1da177e4 82config ELAN_CPUFREQ
bf6fc9fd 83 tristate "AMD Elan SC400 and SC410"
ce9c99af 84 depends on MELAN
a7f7f624 85 help
1da177e4
LT
86 This adds the CPUFreq driver for AMD Elan SC400 and SC410
87 processors.
88
89 You need to specify the processor maximum speed as boot
90 parameter: elanfreq=maxspeed (in kHz) or as module
91 parameter "max_freq".
92
93 For details, take a look at <file:Documentation/cpu-freq/>.
94
95 If in doubt, say N.
96
bf6fc9fd
DJ
97config SC520_CPUFREQ
98 tristate "AMD Elan SC520"
ce9c99af 99 depends on MELAN
a7f7f624 100 help
bf6fc9fd
DJ
101 This adds the CPUFreq driver for AMD Elan SC520 processor.
102
103 For details, take a look at <file:Documentation/cpu-freq/>.
104
105 If in doubt, say N.
106
107
1da177e4
LT
108config X86_POWERNOW_K6
109 tristate "AMD Mobile K6-2/K6-3 PowerNow!"
e8ef9522 110 depends on X86_32
1da177e4
LT
111 help
112 This adds the CPUFreq driver for mobile AMD K6-2+ and mobile
113 AMD K6-3+ processors.
114
115 For details, take a look at <file:Documentation/cpu-freq/>.
116
117 If in doubt, say N.
118
119config X86_POWERNOW_K7
120 tristate "AMD Mobile Athlon/Duron PowerNow!"
e8ef9522 121 depends on X86_32
1da177e4
LT
122 help
123 This adds the CPUFreq driver for mobile AMD K7 mobile processors.
124
125 For details, take a look at <file:Documentation/cpu-freq/>.
126
127 If in doubt, say N.
128
129config X86_POWERNOW_K7_ACPI
130 bool
131 depends on X86_POWERNOW_K7 && ACPI_PROCESSOR
132 depends on !(X86_POWERNOW_K7 = y && ACPI_PROCESSOR = m)
e8ef9522 133 depends on X86_32
1da177e4
LT
134 default y
135
136config X86_POWERNOW_K8
137 tristate "AMD Opteron/Athlon64 PowerNow!"
631e8ac1 138 depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ
1da177e4 139 help
034be8fd
AP
140 This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors.
141 Support for K10 and newer processors is now in acpi-cpufreq.
1da177e4 142
e8ef9522
SR
143 To compile this driver as a module, choose M here: the
144 module will be called powernow-k8.
145
1da177e4
LT
146 For details, take a look at <file:Documentation/cpu-freq/>.
147
9c5320c8
JS
148config X86_AMD_FREQ_SENSITIVITY
149 tristate "AMD frequency sensitivity feedback powersave bias"
150 depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD
151 help
152 This adds AMD-specific powersave bias function to the ondemand
153 governor, which allows it to make more power-conscious frequency
8c88126b 154 change decisions based on feedback from hardware (available on AMD
9c5320c8
JS
155 Family 16h and above).
156
157 Hardware feedback tells software how "sensitive" to frequency changes
158 the CPUs' workloads are. CPU-bound workloads will be more sensitive
159 -- they will perform better as frequency increases. Memory/IO-bound
160 workloads will be less sensitive -- they will not necessarily perform
161 better as frequency increases.
162
163 If in doubt, say N.
164
1da177e4
LT
165config X86_GX_SUSPMOD
166 tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
e8ef9522 167 depends on X86_32 && PCI
1da177e4
LT
168 help
169 This add the CPUFreq driver for NatSemi Geode processors which
170 support suspend modulation.
171
172 For details, take a look at <file:Documentation/cpu-freq/>.
173
174 If in doubt, say N.
175
176config X86_SPEEDSTEP_CENTRINO
e8ef9522 177 tristate "Intel Enhanced SpeedStep (deprecated)"
e8ef9522
SR
178 select X86_SPEEDSTEP_CENTRINO_TABLE if X86_32
179 depends on X86_32 || (X86_64 && ACPI_PROCESSOR)
1da177e4 180 help
e8ef9522
SR
181 This is deprecated and this functionality is now merged into
182 acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of
183 speedstep_centrino.
1da177e4 184 This adds the CPUFreq driver for Enhanced SpeedStep enabled
e8ef9522
SR
185 mobile CPUs. This means Intel Pentium M (Centrino) CPUs
186 or 64bit enabled Intel Xeons.
187
188 To compile this driver as a module, choose M here: the
189 module will be called speedstep-centrino.
388d6c51 190
1da177e4 191 For details, take a look at <file:Documentation/cpu-freq/>.
388d6c51 192
1da177e4
LT
193 If in doubt, say N.
194
1da177e4
LT
195config X86_SPEEDSTEP_CENTRINO_TABLE
196 bool "Built-in tables for Banias CPUs"
e8ef9522 197 depends on X86_32 && X86_SPEEDSTEP_CENTRINO
1da177e4
LT
198 default y
199 help
200 Use built-in tables for Banias CPUs if ACPI encoding
201 is not available.
202
203 If in doubt, say N.
204
205config X86_SPEEDSTEP_ICH
206 tristate "Intel Speedstep on ICH-M chipsets (ioport interface)"
e8ef9522 207 depends on X86_32
1da177e4
LT
208 help
209 This adds the CPUFreq driver for certain mobile Intel Pentium III
210 (Coppermine), all mobile Intel Pentium III-M (Tualatin) and all
388d6c51 211 mobile Intel Pentium 4 P4-M on systems which have an Intel ICH2,
1da177e4
LT
212 ICH3 or ICH4 southbridge.
213
214 For details, take a look at <file:Documentation/cpu-freq/>.
215
216 If in doubt, say N.
217
218config X86_SPEEDSTEP_SMI
219 tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)"
0f194b56 220 depends on X86_32
1da177e4
LT
221 help
222 This adds the CPUFreq driver for certain mobile Intel Pentium III
388d6c51 223 (Coppermine), all mobile Intel Pentium III-M (Tualatin)
1da177e4
LT
224 on systems which have an Intel 440BX/ZX/MX southbridge.
225
226 For details, take a look at <file:Documentation/cpu-freq/>.
227
228 If in doubt, say N.
229
230config X86_P4_CLOCKMOD
231 tristate "Intel Pentium 4 clock modulation"
1da177e4
LT
232 help
233 This adds the CPUFreq driver for Intel Pentium 4 / XEON
e8ef9522
SR
234 processors. When enabled it will lower CPU temperature by skipping
235 clocks.
236
237 This driver should be only used in exceptional
238 circumstances when very low power is needed because it causes severe
239 slowdowns and noticeable latencies. Normally Speedstep should be used
240 instead.
241
242 To compile this driver as a module, choose M here: the
243 module will be called p4-clockmod.
1da177e4
LT
244
245 For details, take a look at <file:Documentation/cpu-freq/>.
246
e8ef9522 247 Unless you are absolutely sure say N.
1da177e4
LT
248
249config X86_CPUFREQ_NFORCE2
250 tristate "nVidia nForce2 FSB changing"
0f194b56 251 depends on X86_32
1da177e4
LT
252 help
253 This adds the CPUFreq driver for FSB changing on nVidia nForce2
254 platforms.
255
256 For details, take a look at <file:Documentation/cpu-freq/>.
257
258 If in doubt, say N.
259
260config X86_LONGRUN
261 tristate "Transmeta LongRun"
e8ef9522 262 depends on X86_32
1da177e4
LT
263 help
264 This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors
265 which support LongRun.
266
267 For details, take a look at <file:Documentation/cpu-freq/>.
268
269 If in doubt, say N.
270
271config X86_LONGHAUL
272 tristate "VIA Cyrix III Longhaul"
e8ef9522 273 depends on X86_32 && ACPI_PROCESSOR
1da177e4 274 help
388d6c51
DJ
275 This adds the CPUFreq driver for VIA Samuel/CyrixIII,
276 VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T
1da177e4
LT
277 processors.
278
279 For details, take a look at <file:Documentation/cpu-freq/>.
280
281 If in doubt, say N.
282