AMD Turion64 X2 works with PowerNow! thank you Bruno
Abdullah Ibn Hamad Al-Marri
almarrie at gmail.com
Wed Jan 24 08:44:07 UTC 2007
Hello AMD users ;)
In regard to my post about AMD hangs with PowerNow! in my Acer Laptop
which has http://groups.google.com/group/mailing.freebsd.mobile/browse_frm/thread/49b02729f7d8b27e/d36307d211e914c5#d36307d211e914c5
I have been working with Mr. Bruno for few days, and finally PowerNow!
works with no hanging issues at all, I used the new powernow.c
provided by Bruno attached.
So I wish this could be backported to RELENG_6 asap, and yes I tested
it in FreeBSD 6.2-STABLE only, not with current.
http://lists.freebsd.org/pipermail/cvs-all/2007-January/205192.html
bruno 2007-01-23 19:20:31 UTC
FreeBSD src repository
Modified files:
sys/i386/cpufreq powernow.c
Log:
o introduce a flags 'errata' for HW bugs onto the softc.
o remove errata_a0 and introduce the corresponding flags into 'errata'.
o introduce a new errata for K8, namely some platform might set the
PENDING_BIT but aren't able to unset it, also don't loop forever
waiting PENDING_BIT being cleared.
o try to introduce a workaround for the PENDING_BIT stuck problem,
o support now half multipliers for K8.
Tested by: Abdullah Al-Marrie
Approved by: njl
Revision Changes Path
1.4 +97 -42 src/sys/i386/cpufreq/powernow.c
To make sure it works with RELENG_6 use this
Index: powernow.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/cpufreq/powernow.c,v
retrieving revision 1.3
retrieving revision 1.2
diff -u -r1.3 -r1.2
--- powernow.c 16 May 2006 14:32:16 -0000 1.3
+++ powernow.c 31 Mar 2005 06:11:04 -0000 1.2
@@ -44,6 +44,7 @@
#include <machine/md_var.h>
#include <machine/specialreg.h>
#include <machine/cputypes.h>
+#include <machine/clock.h>
#include <machine/vmparam.h>
#include <sys/rman.h>
--
Regards,
-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: powernow.c
Type: application/octet-stream
Size: 23603 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20070124/c12f7608/powernow.obj
More information about the freebsd-mobile
mailing list