]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88a28b0328cbdf5a04cb5388ddfd09cf064643f7
treea9773a2bb6ce4d411485402af45dcadf7fbefe28
parent66935fabb9801dd72a3ab73b8c3685ca2d3929a1
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