2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
2011-05-20 06:51:07 +08:00
|
|
|
# x86 CPU Frequency scaling drivers
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
|
2013-02-07 01:02:13 +08:00
|
|
|
config X86_INTEL_PSTATE
|
2019-11-21 11:19:15 +08:00
|
|
|
bool "Intel P state control"
|
|
|
|
depends on X86
|
|
|
|
select ACPI_PROCESSOR if ACPI
|
|
|
|
select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO
|
2020-03-27 03:24:35 +08:00
|
|
|
select CPU_FREQ_GOV_PERFORMANCE
|
|
|
|
select CPU_FREQ_GOV_SCHEDUTIL if SMP
|
2019-11-21 11:19:15 +08:00
|
|
|
help
|
|
|
|
This driver provides a P state for Intel core processors.
|
2013-02-07 01:02:13 +08:00
|
|
|
The driver implements an internal governor and will become
|
2019-11-21 11:19:15 +08:00
|
|
|
the scaling driver and governor for Sandy bridge processors.
|
2013-02-07 01:02:13 +08:00
|
|
|
|
2014-04-23 03:40:10 +08:00
|
|
|
When this driver is enabled it will become the preferred
|
2019-11-21 11:19:15 +08:00
|
|
|
scaling driver for Sandy bridge processors.
|
2013-02-07 01:02:13 +08:00
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2009-12-18 04:18:27 +08:00
|
|
|
config X86_PCC_CPUFREQ
|
|
|
|
tristate "Processor Clocking Control interface driver"
|
|
|
|
depends on ACPI && ACPI_PROCESSOR
|
|
|
|
help
|
|
|
|
This driver adds support for the PCC interface.
|
|
|
|
|
|
|
|
For details, take a look at:
|
2020-03-03 21:52:02 +08:00
|
|
|
<file:Documentation/admin-guide/pm/cpufreq_drivers.rst>.
|
2009-12-18 04:18:27 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called pcc-cpufreq.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2021-12-24 09:05:00 +08:00
|
|
|
config X86_AMD_PSTATE
|
2022-11-17 15:35:38 +08:00
|
|
|
bool "AMD Processor P-State driver"
|
2022-01-06 15:43:05 +08:00
|
|
|
depends on X86 && ACPI
|
|
|
|
select ACPI_PROCESSOR
|
|
|
|
select ACPI_CPPC_LIB if X86_64
|
2021-12-24 09:05:00 +08:00
|
|
|
select CPU_FREQ_GOV_SCHEDUTIL if SMP
|
|
|
|
help
|
|
|
|
This driver adds a CPUFreq driver which utilizes a fine grain
|
|
|
|
processor performance frequency control range instead of legacy
|
|
|
|
performance levels. _CPC needs to be present in the ACPI tables
|
|
|
|
of the system.
|
|
|
|
|
|
|
|
For details, take a look at:
|
|
|
|
<file:Documentation/admin-guide/pm/amd-pstate.rst>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2023-06-21 01:24:33 +08:00
|
|
|
config X86_AMD_PSTATE_DEFAULT_MODE
|
|
|
|
int "AMD Processor P-State default mode"
|
|
|
|
depends on X86_AMD_PSTATE
|
|
|
|
default 3 if X86_AMD_PSTATE
|
|
|
|
range 1 4
|
|
|
|
help
|
|
|
|
Select the default mode the amd-pstate driver will use on
|
|
|
|
supported hardware.
|
|
|
|
The value set has the following meanings:
|
|
|
|
1 -> Disabled
|
|
|
|
2 -> Passive
|
|
|
|
3 -> Active (EPP)
|
|
|
|
4 -> Guided
|
|
|
|
|
|
|
|
For details, take a look at:
|
|
|
|
<file:Documentation/admin-guide/pm/amd-pstate.rst>.
|
|
|
|
|
2022-08-17 11:46:28 +08:00
|
|
|
config X86_AMD_PSTATE_UT
|
|
|
|
tristate "selftest for AMD Processor P-State driver"
|
|
|
|
depends on X86 && ACPI_PROCESSOR
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This kernel module is used for testing. It's safe to say M here.
|
|
|
|
|
2022-09-08 08:28:21 +08:00
|
|
|
It can also be built-in without X86_AMD_PSTATE enabled.
|
|
|
|
Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE
|
|
|
|
is set disabled, it can tell the users test can only run on amd-pstate
|
|
|
|
driver, please set X86_AMD_PSTATE enabled.
|
|
|
|
In the future, comparison tests will be added. It can set amd-pstate
|
|
|
|
disabled and set acpi-cpufreq enabled to run test cases, then compare
|
|
|
|
the test results.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config X86_ACPI_CPUFREQ
|
|
|
|
tristate "ACPI Processor P-States driver"
|
|
|
|
depends on ACPI_PROCESSOR
|
|
|
|
help
|
|
|
|
This driver adds a CPUFreq driver which utilizes the ACPI
|
|
|
|
Processor Performance States.
|
2012-09-04 16:28:02 +08:00
|
|
|
This driver also supports Intel Enhanced Speedstep and newer
|
|
|
|
AMD CPUs.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-11-07 02:35:19 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called acpi-cpufreq.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2012-09-04 16:28:08 +08:00
|
|
|
config X86_ACPI_CPUFREQ_CPB
|
|
|
|
default y
|
|
|
|
bool "Legacy cpb sysfs knob support for AMD CPUs"
|
|
|
|
depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD
|
|
|
|
help
|
|
|
|
The powernow-k8 driver used to provide a sysfs knob called "cpb"
|
|
|
|
to disable the Core Performance Boosting feature of AMD CPUs. This
|
2014-04-23 03:40:10 +08:00
|
|
|
file has now been superseded by the more generic "boost" entry.
|
2012-09-04 16:28:08 +08:00
|
|
|
|
|
|
|
By enabling this option the acpi_cpufreq driver provides the old
|
|
|
|
entry in addition to the new boost ones, for compatibility reasons.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config ELAN_CPUFREQ
|
2005-06-01 10:03:45 +08:00
|
|
|
tristate "AMD Elan SC400 and SC410"
|
2011-04-08 14:42:29 +08:00
|
|
|
depends on MELAN
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
This adds the CPUFreq driver for AMD Elan SC400 and SC410
|
|
|
|
processors.
|
|
|
|
|
|
|
|
You need to specify the processor maximum speed as boot
|
|
|
|
parameter: elanfreq=maxspeed (in kHz) or as module
|
|
|
|
parameter "max_freq".
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2005-06-01 10:03:45 +08:00
|
|
|
config SC520_CPUFREQ
|
|
|
|
tristate "AMD Elan SC520"
|
2011-04-08 14:42:29 +08:00
|
|
|
depends on MELAN
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-06-01 10:03:45 +08:00
|
|
|
This adds the CPUFreq driver for AMD Elan SC520 processor.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config X86_POWERNOW_K6
|
|
|
|
tristate "AMD Mobile K6-2/K6-3 PowerNow!"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for mobile AMD K6-2+ and mobile
|
|
|
|
AMD K6-3+ processors.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_POWERNOW_K7
|
|
|
|
tristate "AMD Mobile Athlon/Duron PowerNow!"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for mobile AMD K7 mobile processors.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_POWERNOW_K7_ACPI
|
|
|
|
bool
|
|
|
|
depends on X86_POWERNOW_K7 && ACPI_PROCESSOR
|
|
|
|
depends on !(X86_POWERNOW_K7 = y && ACPI_PROCESSOR = m)
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
config X86_POWERNOW_K8
|
|
|
|
tristate "AMD Opteron/Athlon64 PowerNow!"
|
2013-01-18 07:19:37 +08:00
|
|
|
depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
2012-09-04 16:28:04 +08:00
|
|
|
This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors.
|
|
|
|
Support for K10 and newer processors is now in acpi-cpufreq.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-11-07 02:35:19 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called powernow-k8.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
2013-04-05 00:19:04 +08:00
|
|
|
config X86_AMD_FREQ_SENSITIVITY
|
|
|
|
tristate "AMD frequency sensitivity feedback powersave bias"
|
|
|
|
depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD
|
|
|
|
help
|
|
|
|
This adds AMD-specific powersave bias function to the ondemand
|
|
|
|
governor, which allows it to make more power-conscious frequency
|
2013-09-29 19:54:15 +08:00
|
|
|
change decisions based on feedback from hardware (available on AMD
|
2013-04-05 00:19:04 +08:00
|
|
|
Family 16h and above).
|
|
|
|
|
|
|
|
Hardware feedback tells software how "sensitive" to frequency changes
|
|
|
|
the CPUs' workloads are. CPU-bound workloads will be more sensitive
|
|
|
|
-- they will perform better as frequency increases. Memory/IO-bound
|
|
|
|
workloads will be less sensitive -- they will not necessarily perform
|
|
|
|
better as frequency increases.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config X86_GX_SUSPMOD
|
|
|
|
tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32 && PCI
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This add the CPUFreq driver for NatSemi Geode processors which
|
|
|
|
support suspend modulation.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_SPEEDSTEP_CENTRINO
|
2007-11-07 02:35:19 +08:00
|
|
|
tristate "Intel Enhanced SpeedStep (deprecated)"
|
|
|
|
select X86_SPEEDSTEP_CENTRINO_TABLE if X86_32
|
|
|
|
depends on X86_32 || (X86_64 && ACPI_PROCESSOR)
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
2007-11-07 02:35:19 +08:00
|
|
|
This is deprecated and this functionality is now merged into
|
|
|
|
acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of
|
|
|
|
speedstep_centrino.
|
2005-04-17 06:20:36 +08:00
|
|
|
This adds the CPUFreq driver for Enhanced SpeedStep enabled
|
2007-11-07 02:35:19 +08:00
|
|
|
mobile CPUs. This means Intel Pentium M (Centrino) CPUs
|
|
|
|
or 64bit enabled Intel Xeons.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called speedstep-centrino.
|
2006-03-12 05:04:53 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
2006-03-12 05:04:53 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_SPEEDSTEP_CENTRINO_TABLE
|
|
|
|
bool "Built-in tables for Banias CPUs"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32 && X86_SPEEDSTEP_CENTRINO
|
2005-04-17 06:20:36 +08:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use built-in tables for Banias CPUs if ACPI encoding
|
|
|
|
is not available.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_SPEEDSTEP_ICH
|
|
|
|
tristate "Intel Speedstep on ICH-M chipsets (ioport interface)"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for certain mobile Intel Pentium III
|
|
|
|
(Coppermine), all mobile Intel Pentium III-M (Tualatin) and all
|
2006-03-12 05:04:53 +08:00
|
|
|
mobile Intel Pentium 4 P4-M on systems which have an Intel ICH2,
|
2005-04-17 06:20:36 +08:00
|
|
|
ICH3 or ICH4 southbridge.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_SPEEDSTEP_SMI
|
|
|
|
tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)"
|
2012-10-03 02:16:53 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for certain mobile Intel Pentium III
|
2006-03-12 05:04:53 +08:00
|
|
|
(Coppermine), all mobile Intel Pentium III-M (Tualatin)
|
2005-04-17 06:20:36 +08:00
|
|
|
on systems which have an Intel 440BX/ZX/MX southbridge.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_P4_CLOCKMOD
|
|
|
|
tristate "Intel Pentium 4 clock modulation"
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Intel Pentium 4 / XEON
|
2007-11-07 02:35:19 +08:00
|
|
|
processors. When enabled it will lower CPU temperature by skipping
|
|
|
|
clocks.
|
|
|
|
|
|
|
|
This driver should be only used in exceptional
|
|
|
|
circumstances when very low power is needed because it causes severe
|
|
|
|
slowdowns and noticeable latencies. Normally Speedstep should be used
|
|
|
|
instead.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called p4-clockmod.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
2007-11-07 02:35:19 +08:00
|
|
|
Unless you are absolutely sure say N.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config X86_CPUFREQ_NFORCE2
|
|
|
|
tristate "nVidia nForce2 FSB changing"
|
2012-10-03 02:16:53 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for FSB changing on nVidia nForce2
|
|
|
|
platforms.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_LONGRUN
|
|
|
|
tristate "Transmeta LongRun"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors
|
|
|
|
which support LongRun.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config X86_LONGHAUL
|
|
|
|
tristate "VIA Cyrix III Longhaul"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32 && ACPI_PROCESSOR
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
2006-03-12 05:04:53 +08:00
|
|
|
This adds the CPUFreq driver for VIA Samuel/CyrixIII,
|
|
|
|
VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T
|
2005-04-17 06:20:36 +08:00
|
|
|
processors.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq/>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2007-02-06 02:57:25 +08:00
|
|
|
config X86_E_POWERSAVER
|
2009-06-08 18:29:36 +08:00
|
|
|
tristate "VIA C7 Enhanced PowerSaver (DANGEROUS)"
|
2013-05-20 03:27:55 +08:00
|
|
|
depends on X86_32 && ACPI_PROCESSOR
|
2007-02-06 02:57:25 +08:00
|
|
|
help
|
2009-06-08 18:29:36 +08:00
|
|
|
This adds the CPUFreq driver for VIA C7 processors. However, this driver
|
|
|
|
does not have any safeguards to prevent operating the CPU out of spec
|
|
|
|
and is thus considered dangerous. Please use the regular ACPI cpufreq
|
|
|
|
driver, enabled by CONFIG_X86_ACPI_CPUFREQ.
|
2007-02-06 02:57:25 +08:00
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
comment "shared options"
|
|
|
|
|
|
|
|
config X86_SPEEDSTEP_LIB
|
|
|
|
tristate
|
2007-11-07 02:35:19 +08:00
|
|
|
default (X86_SPEEDSTEP_ICH || X86_SPEEDSTEP_SMI || X86_P4_CLOCKMOD)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config X86_SPEEDSTEP_RELAXED_CAP_CHECK
|
|
|
|
bool "Relaxed speedstep capability checks"
|
2007-11-07 02:35:19 +08:00
|
|
|
depends on X86_32 && (X86_SPEEDSTEP_SMI || X86_SPEEDSTEP_ICH)
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
2006-03-12 05:04:53 +08:00
|
|
|
Don't perform all checks for a speedstep capable system which would
|
|
|
|
normally be done. Some ancient or strange systems, though speedstep
|
|
|
|
capable, don't always indicate that they are speedstep capable. This
|
2005-04-17 06:20:36 +08:00
|
|
|
option lets the probing code bypass some of those checks if the
|
|
|
|
parameter "relaxed_check=1" is passed to the module.
|
|
|
|
|