]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 5 Sep 2012 11:59:11 +0000 (13:59 +0200)
commit2d3367baedd94b710f370239ce57a25c0eb2e697
tree36af2b5a4a640023a9ab3f371a27e7ea7d8a6434
parenta69f367e3bac8f7b52f1d3613545b851d8bf018b
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