svn commit: r209339 - head/sys/x86/cpufreq

Alexander Motin mav at FreeBSD.org
Sat Jun 19 13:09:44 UTC 2010


Author: mav
Date: Sat Jun 19 13:09:42 2010
New Revision: 209339
URL: http://svn.freebsd.org/changeset/base/209339

Log:
  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:
  head/sys/x86/cpufreq/est.c

Modified: head/sys/x86/cpufreq/est.c
==============================================================================
--- head/sys/x86/cpufreq/est.c	Sat Jun 19 12:12:39 2010	(r209338)
+++ head/sys/x86/cpufreq/est.c	Sat Jun 19 13:09:42 2010	(r209339)
@@ -1123,16 +1123,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;


More information about the svn-src-all mailing list