Subject: re: port-i386/35676: AMD PowerNow! inconsistent probe message
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: matthew green <mrg@eterna.com.au>
List: netbsd-bugs
Date: 02/18/2007 01:40:02
The following reply was made to PR port-i386/35676; it has been noted by GNATS.

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, fukumoto@imasy.or.jp
Subject: re: port-i386/35676: AMD PowerNow! inconsistent probe message 
Date: Sun, 18 Feb 2007 12:36:53 +1100

     
     Hi, could you please try the following patch:
     
     http://www.xtrarom.org/patches/powernowk8.diff
 
 
 hmm, this seems wrong.  the current code also seems
 wrong..it appears to want to run on the attaching cpu
 since it does things like:
 
 	status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
 
 i think the right answer would be to have this code run
 when the cpu is fired up in i386/i386/cpu.c:cpu_hatch()
 after CPUF_GO is set (same in amd64/amd64/cpu.c.)
 
 
 .mrg.