brintos

brintos / linux-shallow public Read only

0
0
Text · 10.3 KiB · 97c2d4f Raw
343 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# x86 CPU Frequency scaling drivers4#5 6config X86_INTEL_PSTATE7	bool "Intel P state control"8	depends on X869	select ACPI_PROCESSOR if ACPI10	select ACPI_CPPC_LIB if X86_64 && ACPI && SCHED_MC_PRIO11	select CPU_FREQ_GOV_PERFORMANCE12	select CPU_FREQ_GOV_SCHEDUTIL if SMP13	help14	  This driver provides a P state for Intel core processors.15	  The driver implements an internal governor and will become16	  the scaling driver and governor for Sandy bridge processors.17 18	  When this driver is enabled it will become the preferred19	  scaling driver for Sandy bridge processors.20 21	  If in doubt, say N.22 23config X86_PCC_CPUFREQ24	tristate "Processor Clocking Control interface driver"25	depends on ACPI && ACPI_PROCESSOR26	help27	  This driver adds support for the PCC interface.28 29	  For details, take a look at:30	  <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>.31 32	  To compile this driver as a module, choose M here: the33	  module will be called pcc-cpufreq.34 35	  If in doubt, say N.36 37config X86_AMD_PSTATE38	bool "AMD Processor P-State driver"39	depends on X86 && ACPI40	select ACPI_PROCESSOR41	select ACPI_CPPC_LIB if X86_6442	select CPU_FREQ_GOV_SCHEDUTIL if SMP43	help44	  This driver adds a CPUFreq driver which utilizes a fine grain45	  processor performance frequency control range instead of legacy46	  performance levels. _CPC needs to be present in the ACPI tables47	  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 54config X86_AMD_PSTATE_DEFAULT_MODE55	int "AMD Processor P-State default mode"56	depends on X86_AMD_PSTATE57	default 3 if X86_AMD_PSTATE58	range 1 459	help60	  Select the default mode the amd-pstate driver will use on61	  supported hardware.62	  The value set has the following meanings:63		1 -> Disabled64		2 -> Passive65		3 -> Active (EPP)66		4 -> Guided67 68	  For details, take a look at:69	  <file:Documentation/admin-guide/pm/amd-pstate.rst>.70 71config X86_AMD_PSTATE_UT72	tristate "selftest for AMD Processor P-State driver"73	depends on X86 && ACPI_PROCESSOR74	depends on X86_AMD_PSTATE75	default n76	help77	  This kernel module is used for testing. It's safe to say M here.78 79	  It can also be built-in without X86_AMD_PSTATE enabled.80	  Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE81	  is set disabled, it can tell the users test can only run on amd-pstate82	  driver, please set X86_AMD_PSTATE enabled.83	  In the future, comparison tests will be added. It can set amd-pstate84	  disabled and set acpi-cpufreq enabled to run test cases, then compare85	  the test results.86 87config X86_ACPI_CPUFREQ88	tristate "ACPI Processor P-States driver"89	depends on ACPI_PROCESSOR90	help91	  This driver adds a CPUFreq driver which utilizes the ACPI92	  Processor Performance States.93	  This driver also supports Intel Enhanced Speedstep and newer94	  AMD CPUs.95 96	  To compile this driver as a module, choose M here: the97	  module will be called acpi-cpufreq.98 99	  For details, take a look at <file:Documentation/cpu-freq/>.100 101	  If in doubt, say N.102 103config X86_ACPI_CPUFREQ_CPB104	default y105	bool "Legacy cpb sysfs knob support for AMD CPUs"106	depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD107	help108	  The powernow-k8 driver used to provide a sysfs knob called "cpb"109	  to disable the Core Performance Boosting feature of AMD CPUs. This110	  file has now been superseded by the more generic "boost" entry.111 112	  By enabling this option the acpi_cpufreq driver provides the old113	  entry in addition to the new boost ones, for compatibility reasons.114 115config ELAN_CPUFREQ116	tristate "AMD Elan SC400 and SC410"117	depends on MELAN118	help119	  This adds the CPUFreq driver for AMD Elan SC400 and SC410120	  processors.121 122	  You need to specify the processor maximum speed as boot123	  parameter: elanfreq=maxspeed (in kHz) or as module124	  parameter "max_freq".125 126	  For details, take a look at <file:Documentation/cpu-freq/>.127 128	  If in doubt, say N.129 130config SC520_CPUFREQ131	tristate "AMD Elan SC520"132	depends on MELAN133	help134	  This adds the CPUFreq driver for AMD Elan SC520 processor.135 136	  For details, take a look at <file:Documentation/cpu-freq/>.137 138	  If in doubt, say N.139 140 141config X86_POWERNOW_K6142	tristate "AMD Mobile K6-2/K6-3 PowerNow!"143	depends on X86_32144	help145	  This adds the CPUFreq driver for mobile AMD K6-2+ and mobile146	  AMD K6-3+ processors.147 148	  For details, take a look at <file:Documentation/cpu-freq/>.149 150	  If in doubt, say N.151 152config X86_POWERNOW_K7153	tristate "AMD Mobile Athlon/Duron PowerNow!"154	depends on X86_32155	help156	  This adds the CPUFreq driver for mobile AMD K7 mobile processors.157 158	  For details, take a look at <file:Documentation/cpu-freq/>.159 160	  If in doubt, say N.161 162config X86_POWERNOW_K7_ACPI163	bool164	depends on X86_POWERNOW_K7 && ACPI_PROCESSOR165	depends on !(X86_POWERNOW_K7 = y && ACPI_PROCESSOR = m)166	depends on X86_32167	default y168 169config X86_POWERNOW_K8170	tristate "AMD Opteron/Athlon64 PowerNow!"171	depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ172	help173	  This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors.174	  Support for K10 and newer processors is now in acpi-cpufreq.175 176	  To compile this driver as a module, choose M here: the177	  module will be called powernow-k8.178 179	  For details, take a look at <file:Documentation/cpu-freq/>.180 181config X86_AMD_FREQ_SENSITIVITY182	tristate "AMD frequency sensitivity feedback powersave bias"183	depends on CPU_FREQ_GOV_ONDEMAND && X86_ACPI_CPUFREQ && CPU_SUP_AMD184	help185	  This adds AMD-specific powersave bias function to the ondemand186	  governor, which allows it to make more power-conscious frequency187	  change decisions based on feedback from hardware (available on AMD188	  Family 16h and above).189 190	  Hardware feedback tells software how "sensitive" to frequency changes191	  the CPUs' workloads are. CPU-bound workloads will be more sensitive192	  -- they will perform better as frequency increases. Memory/IO-bound193	  workloads will be less sensitive -- they will not necessarily perform194	  better as frequency increases.195 196	  If in doubt, say N.197 198config X86_GX_SUSPMOD199	tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"200	depends on X86_32 && PCI201	help202	 This add the CPUFreq driver for NatSemi Geode processors which203	 support suspend modulation.204 205	 For details, take a look at <file:Documentation/cpu-freq/>.206 207	 If in doubt, say N.208 209config X86_SPEEDSTEP_CENTRINO210	tristate "Intel Enhanced SpeedStep (deprecated)"211	select X86_SPEEDSTEP_CENTRINO_TABLE if X86_32212	depends on X86_32 || (X86_64 && ACPI_PROCESSOR)213	help214	  This is deprecated and this functionality is now merged into215	  acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of216	  speedstep_centrino.217	  This adds the CPUFreq driver for Enhanced SpeedStep enabled218	  mobile CPUs.  This means Intel Pentium M (Centrino) CPUs219	  or 64bit enabled Intel Xeons.220 221	  To compile this driver as a module, choose M here: the222	  module will be called speedstep-centrino.223 224	  For details, take a look at <file:Documentation/cpu-freq/>.225 226	  If in doubt, say N.227 228config X86_SPEEDSTEP_CENTRINO_TABLE229	bool "Built-in tables for Banias CPUs"230	depends on X86_32 && X86_SPEEDSTEP_CENTRINO231	default y232	help233	  Use built-in tables for Banias CPUs if ACPI encoding234	  is not available.235 236	  If in doubt, say N.237 238config X86_SPEEDSTEP_ICH239	tristate "Intel Speedstep on ICH-M chipsets (ioport interface)"240	depends on X86_32241	help242	  This adds the CPUFreq driver for certain mobile Intel Pentium III243	  (Coppermine), all mobile Intel Pentium III-M (Tualatin) and all244	  mobile Intel Pentium 4 P4-M on systems which have an Intel ICH2,245	  ICH3 or ICH4 southbridge.246 247	  For details, take a look at <file:Documentation/cpu-freq/>.248 249	  If in doubt, say N.250 251config X86_SPEEDSTEP_SMI252	tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)"253	depends on X86_32254	help255	  This adds the CPUFreq driver for certain mobile Intel Pentium III256	  (Coppermine), all mobile Intel Pentium III-M (Tualatin)257	  on systems which have an Intel 440BX/ZX/MX southbridge.258 259	  For details, take a look at <file:Documentation/cpu-freq/>.260 261	  If in doubt, say N.262 263config X86_P4_CLOCKMOD264	tristate "Intel Pentium 4 clock modulation"265	help266	  This adds the CPUFreq driver for Intel Pentium 4 / XEON267	  processors.  When enabled it will lower CPU temperature by skipping268	  clocks.269 270	  This driver should be only used in exceptional271	  circumstances when very low power is needed because it causes severe272	  slowdowns and noticeable latencies.  Normally Speedstep should be used273	  instead.274 275	  To compile this driver as a module, choose M here: the276	  module will be called p4-clockmod.277 278	  For details, take a look at <file:Documentation/cpu-freq/>.279 280	  Unless you are absolutely sure say N.281 282config X86_CPUFREQ_NFORCE2283	tristate "nVidia nForce2 FSB changing"284	depends on X86_32285	help286	  This adds the CPUFreq driver for FSB changing on nVidia nForce2287	  platforms.288 289	  For details, take a look at <file:Documentation/cpu-freq/>.290 291	  If in doubt, say N.292 293config X86_LONGRUN294	tristate "Transmeta LongRun"295	depends on X86_32296	help297	  This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors298	  which support LongRun.299 300	  For details, take a look at <file:Documentation/cpu-freq/>.301 302	  If in doubt, say N.303 304config X86_LONGHAUL305	tristate "VIA Cyrix III Longhaul"306	depends on X86_32 && ACPI_PROCESSOR307	help308	  This adds the CPUFreq driver for VIA Samuel/CyrixIII,309	  VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T310	  processors.311 312	  For details, take a look at <file:Documentation/cpu-freq/>.313 314	  If in doubt, say N.315 316config X86_E_POWERSAVER317	tristate "VIA C7 Enhanced PowerSaver (DANGEROUS)"318	depends on X86_32 && ACPI_PROCESSOR319	help320	  This adds the CPUFreq driver for VIA C7 processors.  However, this driver321	  does not have any safeguards to prevent operating the CPU out of spec322	  and is thus considered dangerous.  Please use the regular ACPI cpufreq323	  driver, enabled by CONFIG_X86_ACPI_CPUFREQ.324 325	  If in doubt, say N.326 327comment "shared options"328 329config X86_SPEEDSTEP_LIB330	tristate331	default (X86_SPEEDSTEP_ICH || X86_SPEEDSTEP_SMI || X86_P4_CLOCKMOD)332 333config X86_SPEEDSTEP_RELAXED_CAP_CHECK334	bool "Relaxed speedstep capability checks"335	depends on X86_32 && (X86_SPEEDSTEP_SMI || X86_SPEEDSTEP_ICH)336	help337	  Don't perform all checks for a speedstep capable system which would338	  normally be done. Some ancient or strange systems, though speedstep339	  capable, don't always indicate that they are speedstep capable. This340	  option lets the probing code bypass some of those checks if the341	  parameter "relaxed_check=1" is passed to the module.342 343