acpi-cpufreq: Add support for disabling dynamic overclocking
authorAndre Przywara <andre.przywara@amd.com>
Tue, 4 Sep 2012 08:28:07 +0000 (08:28 +0000)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 9 Sep 2012 20:05:12 +0000 (22:05 +0200)
commit615b7300717b9ad5c23d1f391843484fe30f6c12
treea9773a2bb6ce4d411485402af45dcadf7fbefe28
parentf594065faf4f9067c2283a34619fc0714e79a98d
acpi-cpufreq: Add support for disabling dynamic overclocking

One feature present in powernow-k8 that isn't present in acpi-cpufreq
is support for enabling or disabling AMD's core performance boost
technology. This patch adds support to acpi-cpufreq, but also
includes support for Intel's dynamic acceleration.

The original boost disabling sysfs file was per CPU, but acted
globally. Also the naming (cpb) was at least not intuitive.
So lets introduce a single file simply called "boost", which sits
once in /sys/devices/system/cpu/cpufreq.
This should be the only way of using this feature, so add
documentation about the rationale and the usage.

A following patch will re-introduce the cpb knob for compatibility
reasons on AMD CPUs.

Per-CPU boost switching is possible, but not trivial and is thus
postponed to a later patch series.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Documentation/ABI/testing/sysfs-devices-system-cpu
Documentation/cpu-freq/boost.txt [new file with mode: 0644]
drivers/cpufreq/acpi-cpufreq.c