]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi-cpufreq: Add quirk to disable _PSD usage on all AMD CPUs
authorAndre Przywara <andre.przywara@amd.com>
Tue, 4 Sep 2012 08:28:03 +0000 (08:28 +0000)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 5 Sep 2012 11:59:08 +0000 (13:59 +0200)
commit7bb545f3dcb3acd8588137aded988c390350834d
tree6e942c2ca8a49903c108a5dae8fd0b68fd9d7ef3
parent1335cd19422903db91cde287f675a95d19fa004c
acpi-cpufreq: Add quirk to disable _PSD usage on all AMD CPUs

To workaround some Windows specific behavior, the ACPI _PSD table
on AMD desktop boards advertises all cores as dependent, meaning
that they all can only use the same P-state. acpi-cpufreq strictly
obeys this description, instantiating one CPU only and symlinking
the others. But the hardware can have distinct frequencies for each
core and powernow-k8 did it that way.
So, in order to use the hardware to its full potential and keep the
original powernow-k8 behavior, lets override the _PSD table setting
on AMD hardware.
We use the siblings table, as it matches the current hardware
behavior.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/cpufreq/acpi-cpufreq.c