Subject: frequency/voltage tables in EST driver
To: None <tech-kern@NetBSD.org>
From: YONETANI Tomokazu <qhwt+nbsd@les.ath.cx>
List: tech-kern
Date: 12/12/2006 22:31:32
Hi.
DragonFly BSD imported the EST driver from NetBSD about half a year ago
(before the fake table code went in), and a few users have reported that
they had to modify the table so as the driver recognize their CPUs.  I'm
particularly interested in whether the users of these CPU models need a
modification to the table or not.
Included at the bottom of this message are the reported changes
(but applied to the current est.c file).  FWIW, here are the
MSR_PERF_STATUS values read from their CPUs.

Pentium M 740 1.73GHz:	0x6120d2606000d26
Pentium M 750 1.86GHz:	0x6120e2906000e29
Pentium M 760 2.00GHz:	0x6120f2606000f26

Best regards,
Yonetani Tomokazu.

===================================================================
RCS file: est.c,v
retrieving revision 1.31
diff -u -r1.31 est.c
--- est.c	2006/11/29 15:53:42	1.31
+++ est.c	2006/12/12 11:21:38
@@ -575,7 +575,7 @@
 
 /* Intel Pentium M processor 740 1.73 GHz, 533 MHz FSB */
 static const uint16_t pm90_n740[] = {
-       ID16(1733, 1356, BUS133),
+       ID16(1733, 1308, BUS133),
        ID16(1333, 1212, BUS133),
        ID16(1067, 1100, BUS133),
        ID16( 800,  988, BUS133),
@@ -628,7 +628,7 @@
 /* Intel Pentium M processor 750 1.86 GHz, 533 MHz FSB */
 /* values extracted from \_PR\NPSS (via _PSS) SDST ACPI table */
 static const uint16_t pm90_n750[] = {
-	ID16(1867, 1308, BUS133),
+	ID16(1867, 1356, BUS133),
 	ID16(1600, 1228, BUS133),
 	ID16(1333, 1148, BUS133),
 	ID16(1067, 1068, BUS133),
@@ -685,7 +685,7 @@
 
 /* Intel Pentium M processor 760 2.0 GHz, 533 MHz FSB */
 static const uint16_t pm90_n760[] = {
-	ID16(2000, 1356, BUS133),
+	ID16(2000, 1308, BUS133),
 	ID16(1600, 1244, BUS133),
 	ID16(1333, 1164, BUS133),
 	ID16(1067, 1084, BUS133),