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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to