aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/Kconfig.x86
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2012-09-04 04:28:08 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-09 16:05:20 -0400
commit11269ff506888a06b19c8c7a3297114f30673973 (patch)
tree3c70a6218d00ae748b315efaa1c8619a306470fb /drivers/cpufreq/Kconfig.x86
parent615b7300717b9ad5c23d1f391843484fe30f6c12 (diff)
acpi-cpufreq: Add compatibility for legacy AMD cpb sysfs knob
The powernow-k8 driver supported a sysfs knob called "cpb", which was instantiated per CPU, but actually acted globally for the whole system. To keep some compatibility with this feature, we re-introduce this behavior here, but: a) only enable it on AMD CPUs and b) protect it with a Kconfig switch I'd like to consider this feature obsolete. Lets keep it around for some kernel versions and then phase it out. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/cpufreq/Kconfig.x86')
-rw-r--r--drivers/cpufreq/Kconfig.x8612
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
index b36ca1f68bff..934854ae5eb4 100644
--- a/drivers/cpufreq/Kconfig.x86
+++ b/drivers/cpufreq/Kconfig.x86
@@ -33,6 +33,18 @@ config X86_ACPI_CPUFREQ
33 33
34 If in doubt, say N. 34 If in doubt, say N.
35 35
36config X86_ACPI_CPUFREQ_CPB
37 default y
38 bool "Legacy cpb sysfs knob support for AMD CPUs"
39 depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD
40 help
41 The powernow-k8 driver used to provide a sysfs knob called "cpb"
42 to disable the Core Performance Boosting feature of AMD CPUs. This
43 file has now been superseeded by the more generic "boost" entry.
44
45 By enabling this option the acpi_cpufreq driver provides the old
46 entry in addition to the new boost ones, for compatibility reasons.
47
36config ELAN_CPUFREQ 48config ELAN_CPUFREQ
37 tristate "AMD Elan SC400 and SC410" 49 tristate "AMD Elan SC400 and SC410"
38 select CPU_FREQ_TABLE 50 select CPU_FREQ_TABLE