Subject: AMD PowerNow! not working
To: None <current-users@netbsd.org>
From: Nino Dehne <ndehne@gmail.com>
List: current-users
Date: 09/24/2006 10:45:43
Hi,

I'm running a recent -current on a Laptop with a:

cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon XP-M 2500+ (686-class), 1857.62 MHz, id 0x6a0
cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: "mobile AMD Athlon(tm) XP-M 2500+"
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: AMD Power Management features: TS FID VID
cpu0: 8 page colors

In Windows XP, this thing has PowerNow! support as confirmed by an AMD-
supplied tool which shows the current frequency and CPU load.

Now, as I understand it, GENERIC should already support PowerNow!:

# AMD PowerNow! K7
options     POWERNOW_K7

The commit message of revision 1.18 of src/sys/arch/i386/i386/powernow_k7.c
contains a hint that this particular CPU ID should be supported now. Do I
have yet another different CPU model or how can I get it working? The
constantly running CPU fan and short runtime make using NetBSD on this thing
rather unpleasant.

Best regards,

ND