hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/cpufreq/Kconfig.x86
....@@ -1,19 +1,22 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # x86 CPU Frequency scaling drivers
34 #
45
56 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
- help
11
- This driver provides a P state for Intel core processors.
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
11
+ select CPU_FREQ_GOV_PERFORMANCE
12
+ select CPU_FREQ_GOV_SCHEDUTIL if SMP
13
+ help
14
+ This driver provides a P state for Intel core processors.
1215 The driver implements an internal governor and will become
13
- the scaling driver and governor for Sandy bridge processors.
16
+ the scaling driver and governor for Sandy bridge processors.
1417
1518 When this driver is enabled it will become the preferred
16
- scaling driver for Sandy bridge processors.
19
+ scaling driver for Sandy bridge processors.
1720
1821 If in doubt, say N.
1922
....@@ -24,7 +27,7 @@
2427 This driver adds support for the PCC interface.
2528
2629 For details, take a look at:
27
- <file:Documentation/cpu-freq/pcc-cpufreq.txt>.
30
+ <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>.
2831
2932 To compile this driver as a module, choose M here: the
3033 module will be called pcc-cpufreq.
....@@ -72,7 +75,7 @@
7275 config ELAN_CPUFREQ
7376 tristate "AMD Elan SC400 and SC410"
7477 depends on MELAN
75
- ---help---
78
+ help
7679 This adds the CPUFreq driver for AMD Elan SC400 and SC410
7780 processors.
7881
....@@ -87,7 +90,7 @@
8790 config SC520_CPUFREQ
8891 tristate "AMD Elan SC520"
8992 depends on MELAN
90
- ---help---
93
+ help
9194 This adds the CPUFreq driver for AMD Elan SC520 processor.
9295
9396 For details, take a look at <file:Documentation/cpu-freq/>.
....@@ -125,7 +128,7 @@
125128
126129 config X86_POWERNOW_K8
127130 tristate "AMD Opteron/Athlon64 PowerNow!"
128
- depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ && !PREEMPT_RT_BASE
131
+ depends on ACPI && ACPI_PROCESSOR && X86_ACPI_CPUFREQ
129132 help
130133 This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors.
131134 Support for K10 and newer processors is now in acpi-cpufreq.