suggested one line patch to powernow-k8 for 65nm Athlon64

Dave Jones davej at redhat.com
Sun May 13 15:56:45 UTC 2007


On Sat, May 12, 2007 at 07:29:38PM -0600, Calvin Dodge wrote:
 > I'm the proud owner of a new "Lima" Athlon64, and was annoyed to see
 > that powernow-k8 didn't recognize it.
 > 
 > It turns out AMD bumped the revision number from 6 to 7, and
 > powernow-k8 doesn't like that.
 > 
 > At the suggestion of powernow-k8's maintainer (Mark Langsdorf) I
 > edited line 49 of powernow-k8.h and changed:
 > 
 > #define CPUID_XMOD_REV_G             0x00060000
 > 
 > to
 > 
 > #define CPUID_XMOD_REV_H             0x00070000
 > 
 > then changed CPUID_XMOD_REV_G in powernow-k8.c to  CPUID_XMOD_REV_H
 > 
 > (actually, he just said "bump it to 7", but it seemed logical to
 > increment the revision letter, too)
 > 
 > This worked, and the cpuspeed daemon lowered the CPU frequency and
 > voltage when idling.
 > 
 > Anyway, Mark said he'd submitted a patch, but it hadn't made its way
 > to the main kernel source yet.  Is there any chance the Fedora kernel
 > maintainers might add such a patch to the next kernel?

I've just pushed this to Linus for .22, and will get it into .21-stable too.
We'll pick it up in Fedora through those trees soon.

Thanks,

	Dave

-- 
http://www.codemonkey.org.uk




More information about the Fedora-kernel-list mailing list