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

Calvin Dodge caldodge at gmail.com
Sun May 13 01:29:38 UTC 2007


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?

Calvin Dodge




More information about the Fedora-kernel-list mailing list