svn commit: r237487 - stable/9/sys/dev/hwpmc
Davide Italiano
davide at FreeBSD.org
Sat Jun 23 17:46:42 UTC 2012
Author: davide
Date: Sat Jun 23 17:46:42 2012
New Revision: 237487
URL: http://svn.freebsd.org/changeset/base/237487
Log:
MFC r237196:
Disable hwpmc(4) support for Intel Xeon Sandy Bridge (Model 0x2D).
Due to some differences in MSRs between Xeon Sandy Bridge and Core Sandy
Bridge (Model 0x2A), wrmsr() may generate in a GP# fault exception and so a
panic of the machine.
Approved by: gnn (mentor)
Modified:
stable/9/sys/dev/hwpmc/hwpmc_intel.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/hwpmc/hwpmc_intel.c
==============================================================================
--- stable/9/sys/dev/hwpmc/hwpmc_intel.c Sat Jun 23 17:42:37 2012 (r237486)
+++ stable/9/sys/dev/hwpmc/hwpmc_intel.c Sat Jun 23 17:46:42 2012 (r237487)
@@ -143,7 +143,6 @@ pmc_intel_initialize(void)
nclasses = 5;
break;
case 0x2A: /* Per Intel document 253669-039US 05/2011. */
- case 0x2D: /* Per Intel document 253669-041US 12/2011. */
cputype = PMC_CPU_INTEL_SANDYBRIDGE;
nclasses = 5;
break;
More information about the svn-src-stable-9
mailing list