[CPUFREQ] powernow-k8: Get transition latency from ACPI _PSS table
authorMark Langsdorf <mark.langsdorf@amd.com>
Tue, 3 Feb 2009 16:46:43 +0000 (17:46 +0100)
committerDave Jones <davej@redhat.com>
Thu, 5 Feb 2009 17:25:26 +0000 (12:25 -0500)
commit732553e567c2700ba5b9bccc6ec885c75779a94b
tree1b6d7b2686244908935a1c270c86651e904c5f3f
parent1ca3abdb6a4b87246b00292f048acd344325fd12
[CPUFREQ] powernow-k8: Get transition latency from ACPI _PSS table

At this time, the PowerNow! driver for K8 uses an experimentally
derived formula to calculate transition latency.  The value it
provides is orders of magnitude too large on modern systems.
This patch replaces the formula with ACPI _PSS latency values
for more accuracy and better performance.

I've tested it on two 2nd generation Opteron systems, a 3rd
generation Operton system, and a Turion X2 without seeing any
stability problems.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/powernow-k8.c