svn commit: r348868 - stable/12/sys/dev/hwpmc

Konstantin Belousov kib at FreeBSD.org
Mon Jun 10 17:36:16 UTC 2019


Author: kib
Date: Mon Jun 10 17:36:14 2019
New Revision: 348868
URL: https://svnweb.freebsd.org/changeset/base/348868

Log:
  MFC r348544:
  hwpmc_intel: List all Silvermont ids.

Modified:
  stable/12/sys/dev/hwpmc/hwpmc_intel.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/hwpmc/hwpmc_intel.c
==============================================================================
--- stable/12/sys/dev/hwpmc/hwpmc_intel.c	Mon Jun 10 16:36:31 2019	(r348867)
+++ stable/12/sys/dev/hwpmc/hwpmc_intel.c	Mon Jun 10 17:36:14 2019	(r348868)
@@ -195,7 +195,11 @@ pmc_intel_initialize(void)
 			cputype = PMC_CPU_INTEL_HASWELL;
 			nclasses = 5;
 			break;
+		case 0x37:
+		case 0x4A:
 		case 0x4D:      /* Per Intel document 330061-001 01/2014. */
+		case 0x5A:
+		case 0x5D:
 			cputype = PMC_CPU_INTEL_ATOM_SILVERMONT;
 			nclasses = 3;
 			break;


More information about the svn-src-stable mailing list