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