[CPUFREQ] architectural pstate driver for powernow-k8
authorMark Langsdorf <mark.langsdorf@amd.com>
Wed, 17 Oct 2007 21:52:08 +0000 (16:52 -0500)
committerDave Jones <davej@redhat.com>
Mon, 22 Oct 2007 20:30:33 +0000 (16:30 -0400)
commitc5829cd07ec4c08daa7ff91c821af9b2ac7748df
tree7950a61bb4afe118297c375671af869838c3d18e
parent63bd8c48e04bbbc9cee3d752857914609d8d406f
[CPUFREQ] architectural pstate driver for powernow-k8

This patch should apply cleanly to the 2.6.23-git7 kernel.  It changes the
powernow-k8 driver code that deals with 3rd generation Opteron, Phenom,
and later processors to match the architectural pstate driver described
in the AMD64 Architecture Programmer's Manual Volume 2 Chapter 18.  The
initial implementation of the hardware pstate driver for PowerNow!
used some processor-version specific features, and would not be
maintainable in the long term as the processor features changed.
This architectural driver should work on all future AMD processors.
 
Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/powernow-k8.c
arch/x86/kernel/cpu/cpufreq/powernow-k8.h