Subject: Re: Powernow support?
To: None <port-amd64@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: port-amd64
Date: 07/30/2006 23:14:21
On Sun, 23 Jul 2006 10:01:59 -0700
Scott Ellis <scotte@warped.com> wrote:

> It's been awhile since I've seen this subject broached, so I wanted to 
> check the status.  Are there any pending patches to enable PowerNow 
> support on amd64?  I see that the i386 PowerNow support is in, but 
> nothing in-tree for amd64.  Looking at powernow-k7, it looks pretty 
> similar to the OpenBSD version.  OpenBSD also has powernow-k8 support.
> 
> Google (and a search of the list archives) didn't turn up any "work in 
> progress" on Amd64 PowerNow support, so I figured I'd ask here: Is 
> anyone working on this, and in need of some feedback/broader testing?

Ok, this is just the patch I made today... based in the openbsd powernow_k8.c
driver for amd64.

Anyone wants to review the patch or try to fix the code if something is wrong?

http://www.xtrarom.org/~juan/powernow_k8.patch

A precompiled NetBSD/amd64 kernel based on GENERIC_ACPI plus
"options POWERNOW_K8" is available at:

http://www.xtrarom.org/~juan/netbsd_amd64_powernow.gz

I don't have amd64 hw.... so it's untested.