Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 16:50:02 GMT
From:      Andre Albsmeier <Andre.Albsmeier@siemens.com>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/145718: [est] [patch] fix freq calculation from MSR for CPUs with fractional multipliers
Message-ID:  <201304261650.r3QGo20h031237@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/145718; it has been noted by GNATS.

From: Andre Albsmeier <Andre.Albsmeier@siemens.com>
To: bug-followup@FreeBSD.org, Andre.Albsmeier@siemens.com
Cc:  
Subject: Re: i386/145718: [est] [patch] fix freq calculation from MSR for
 CPUs with fractional multipliers
Date: Fri, 26 Apr 2013 18:34:30 +0200

 And another additional patch to make this work with an E6600 CPU
 (266 MHz clock). While we are here, fix the unit of the voltage
 as well (Mv -> mV).
 
 --- est.c.ORI	2013-04-26 18:30:02.000000000 +0200
 +++ est.c	2013-04-26 18:30:02.000000000 +0200
 @@ -1192,6 +1192,7 @@
  	switch (bus) {
  	case 100:
  	case 133:
 +	case 267:
  	case 333:
  		return (1);
  	default:
 @@ -1252,7 +1253,7 @@
  	fp[0].volts = volts;
  	fp[0].id16 = id;
  	fp[0].power = CPUFREQ_VAL_UNKNOWN;
 -	device_printf(dev, "Guessed high setting of %d MHz @ %d Mv\n", freq,
 +	device_printf(dev, "Guessed high setting of %d MHz @ %d mV\n", freq,
  	    volts);
  
  	/* Second, the low frequency. */
 @@ -1269,7 +1270,7 @@
  	fp[1].volts = volts;
  	fp[1].id16 = id;
  	fp[1].power = CPUFREQ_VAL_UNKNOWN;
 -	device_printf(dev, "Guessed low setting of %d MHz @ %d Mv\n", freq,
 +	device_printf(dev, "Guessed low setting of %d MHz @ %d mV\n", freq,
  	    volts);
  
  	/* Table is already terminated due to M_ZERO. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304261650.r3QGo20h031237>