svn commit: r237196 - head/sys/dev/hwpmc
Davide Italiano
davide at FreeBSD.org
Sun Jun 17 13:48:40 UTC 2012
Author: davide
Date: Sun Jun 17 13:48:39 2012
New Revision: 237196
URL: http://svn.freebsd.org/changeset/base/237196
Log:
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)
MFC after: 3 days
Modified:
head/sys/dev/hwpmc/hwpmc_intel.c
Modified: head/sys/dev/hwpmc/hwpmc_intel.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_intel.c Sun Jun 17 13:03:50 2012 (r237195)
+++ head/sys/dev/hwpmc/hwpmc_intel.c Sun Jun 17 13:48:39 2012 (r237196)
@@ -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-all
mailing list