Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2011 07:19:20 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r222593 - stable/8/sys/x86/cpufreq
Message-ID:  <201106020719.p527JKva005770@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Jun  2 07:19:19 2011
New Revision: 222593
URL: http://svn.freebsd.org/changeset/base/222593

Log:
  MFC r209339:
  Core i5, same as previously Core2Duo, found to not set P-state for single
  core lower then set on other cores. Do not try to test P-states on attach
  on SMP systems. It is hopeless now and will just pollute verbose logs.
  If needed, check still can be forced via loader tunable.

Modified:
  stable/8/sys/x86/cpufreq/est.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/x86/cpufreq/est.c
==============================================================================
--- stable/8/sys/x86/cpufreq/est.c	Thu Jun  2 05:31:54 2011	(r222592)
+++ stable/8/sys/x86/cpufreq/est.c	Thu Jun  2 07:19:19 2011	(r222593)
@@ -1126,16 +1126,12 @@ est_acpi_info(device_t dev, freq_info **
 		 * Confirm id16 value is correct.
 		 */
 		if (sets[i].freq > 0) {
-			error = est_set_id16(dev, sets[i].spec[0], 1);
-			if (error != 0 && strict) {
+			error = est_set_id16(dev, sets[i].spec[0], strict);
+			if (error != 0) {
 				if (bootverbose) 
 					device_printf(dev, "Invalid freq %u, "
 					    "ignored.\n", sets[i].freq);
 				continue;
-			} else if (error != 0 && bootverbose) {
-				device_printf(dev, "Can't check freq %u, "
-				    "it may be invalid\n",
-				    sets[i].freq);
 			}
 			table[j].freq = sets[i].freq;
 			table[j].volts = sets[i].volts;



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