DragonFly submit List (threaded) for 2006-12
DragonFly BSD
DragonFly submit List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: est.c table patch


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Sun, 17 Dec 2006 15:50:26 +0900

On Sat, Dec 16, 2006 at 09:18:32PM +0100, Victor Balada Diaz wrote:
> > http://les.ath.cx/DragonFly/est.c.patch
> 
> Hi,
> the attached patch does not compile. The problem is that you replaced
> pentium_m_n770 instead of adding a new pentium_m_n770_2.

Sorry, stupid last minute change.

> > o Add modified tables based on the patches from the following people:
> >   Pentium M 750 1.86GHz		(Vlad Galu)
> >   Pentium M 760 2.00GHz		(Victor Balada Diaz)
> >   Pentium M 715 1.50GHz		(Ryan O'Connor)
> > 
> > o Bring in some fixes from NetBSD
> >   rev 1.27: Fix Pentium M 770 table.
> >   rev 1.25: Added 'Low Voltage Intel Pentium M processor 1.30 GHz' entry.
> 
> I've got the tables from FreeBSD, so it's not my work.

Well yes, pentium_m_n760_2[] in my patch is actually a modified version of
original pentium_m_n760[] with only the first item changed to a lower
voltage, so I'm not using the patch you posted either :)  Can you make
sure that there's a difference in CPU performance between 800MHz and 1067MHz
with the new patch?

Thanks.
o Add modified tables based on the reports from the following people:
  Pentium M 750 1.86GHz		(Vlad Galu)
  Pentium M 760 2.00GHz		(Victor Balada Diaz)
  Pentium M 715 1.50GHz		(Ryan O'Connor)

o Bring in some fixes from NetBSD
  rev 1.27: Fix Pentium M 770 table.
  rev 1.25: Added 'Low Voltage Intel Pentium M processor 1.30 GHz' entry.

Index: est.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/machine/pc32/i386/est.c,v
retrieving revision 1.2
diff -u -p -r1.2 est.c
--- est.c	30 Jun 2006 07:34:59 -0000	1.2
+++ est.c	17 Dec 2006 06:21:51 -0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: est.c,v 1.24 2006/03/15 22:56:38 dogcow Exp $	*/
+/*	$NetBSD: est.c,v 1.25 2006/06/18 16:39:56 nonaka Exp $	*/
 /*
  * Copyright (c) 2003 Michael Eriksson.
  * All rights reserved.
@@ -84,7 +84,7 @@
  *
  *   ACPI objects: _PCT is MSR location, _PSS is freq/voltage, _PPC is caps.
  *
- * $NetBSD: est.c,v 1.24 2006/03/15 22:56:38 dogcow Exp $
+ * $NetBSD: est.c,v 1.25 2006/06/18 16:39:56 nonaka Exp $
  * $DragonFly: src/sys/machine/pc32/i386/est.c,v 1.2 2006/06/30 07:34:59 y0netan1 Exp $
  */
 
@@ -139,6 +139,17 @@ static const struct fq_info pentium_m_12
 	{  600,  956 },
 };
 
+/* Low Voltage Intel Pentium M processor 1.30 GHz */
+static const struct fq_info pentium_m_1300_lv[] = {
+	{ 1300, 1180 },
+	{ 1200, 1164 },
+	{ 1100, 1100 },
+	{ 1000, 1020 },
+	{  900, 1004 },
+	{  800,  988 },
+	{  600,  956 },
+};
+
 /* Intel Pentium M processor 1.30 GHz */
 static const struct fq_info pentium_m_1300[] = {
 	{ 1300, 1388 },
@@ -348,6 +359,14 @@ static const struct fq_info pentium_m_n7
 	{  800,  988 }
 };
 
+static const struct fq_info pentium_m_n750_2[] = {
+	{ 1867, 1356 },
+	{ 1600, 1228 },
+	{ 1333, 1148 },
+	{ 1067, 1068 },
+	{  800,  988 }
+};
+
 /* Intel Pentium M processor 755 2.0 GHz */
 static const struct fq_info pentium_m_n755[] = {
 	{ 2000, 1340 },
@@ -369,6 +388,15 @@ static const struct fq_info pentium_m_n7
 	{  800,  988 }
 };
 
+/* Intel Pentium M processor 760 2.0 GHz */
+static const struct fq_info pentium_m_n760_2[] = {
+	{ 2000, 1308 },
+	{ 1600, 1244 },
+	{ 1333, 1164 },
+	{ 1067, 1084 },
+	{  800,  988 }
+};
+
 /* Intel Pentium M processor 765 2.1 GHz */
 static const struct fq_info pentium_m_n765[] = {
 	{ 2100, 1340 },
@@ -393,6 +421,16 @@ static const struct fq_info pentium_m_n7
 	{  600,  988 }
 };
 
+/* Intel Pentium M processor 770 2.13 GHz */
+static const struct fq_info pentium_m_n770_2[] = {
+	{ 2133, 1356 },
+	{ 1867, 1292 },
+	{ 1600, 1212 },
+	{ 1333, 1148 },
+	{ 1067, 1068 },
+	{  800,  988 }
+};
+
 struct fqlist {
 	const char *brand_tag;
 	const u_int cpu_id;
@@ -408,6 +446,7 @@ static const struct fqlist pentium_m[] =
 	ENTRY("1100", 0x0695, pentium_m_1100, 3),
 	ENTRY("1200", 0x0695, pentium_m_1200, 3),
 	ENTRY("1300", 0x0695, pentium_m_1300, 3),
+	ENTRY("1300", 0x0695, pentium_m_1300_lv, 3),
 	ENTRY("1400", 0x0695, pentium_m_1400, 3),
 	ENTRY("1500", 0x0695, pentium_m_1500, 3),
 	ENTRY("1600", 0x0695, pentium_m_1600, 3),
@@ -430,6 +469,7 @@ static const struct fqlist pentium_m_dot
 	/* 'regular' 400 MHz FSB CPUs */
 	ENTRY("1.40", 0x06d6, pentium_m_n710, 3),
 	ENTRY("1.50", 0x06d6, pentium_m_n715, 3),
+	ENTRY("1.50", 0x06d8, pentium_m_n715, 3),
 	ENTRY("1.60", 0x06d6, pentium_m_n725, 3),
 	ENTRY("1.70", 0x06d6, pentium_m_n735, 3),
 	ENTRY("1.80", 0x06d6, pentium_m_n745, 3),
@@ -441,8 +481,11 @@ static const struct fqlist pentium_m_dot
 	ENTRY("1.73", 0x06d8, pentium_m_n740, 4),
 	ENTRY("1.73", 0x06d8, pentium_m_n740_2, 4),
 	ENTRY("1.86", 0x06d8, pentium_m_n750, 4),
+	ENTRY("1.86", 0x06d8, pentium_m_n750_2, 4),
 	ENTRY("2.00", 0x06d8, pentium_m_n760, 4),
+	ENTRY("2.00", 0x06d8, pentium_m_n760_2, 4),
 	ENTRY("2.13", 0x06d8, pentium_m_n770, 4),
+	ENTRY("2.13", 0x06d8, pentium_m_n770_2, 4),
 
 };
 #undef ENTRY


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]