]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
acpi-cpufreq: Add compatibility for legacy AMD cpb sysfs knob
authorAndre Przywara <andre.przywara@amd.com>
Tue, 4 Sep 2012 08:28:08 +0000 (08:28 +0000)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 9 Sep 2012 20:05:20 +0000 (22:05 +0200)
commit11269ff506888a06b19c8c7a3297114f30673973
tree3c70a6218d00ae748b315efaa1c8619a306470fb
parent615b7300717b9ad5c23d1f391843484fe30f6c12
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>
drivers/cpufreq/Kconfig.x86
drivers/cpufreq/acpi-cpufreq.c