aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnaƫlle CAZUC <Anaelle.CAZUC@stormshield.eu>2025-12-04 17:32:39 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2025-12-04 18:00:55 +0000
commit057dae35ffc6b17dacc84fa21921e93a17ce12b0 (patch)
tree021c5614d9c00ff06851a353809050348da03817
parent575efcfff22f5d75fc3ac6201f11e5eae46ec9ce (diff)
pmc: add alderlake model
The commit 601925180df4 added the models 6-B7, 6-BA, 6-BF to libpmc, but they must also be added to the hwpmc module to allow pmc to work on those CPUs. Reviewed by: mhorne MFC after: 1 week Fixes: 601925180df4 ("libpmc: add more alderlake models") Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D49255
-rw-r--r--sys/dev/hwpmc/hwpmc_intel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_intel.c b/sys/dev/hwpmc/hwpmc_intel.c
index b195fcb3f362..68693e00c426 100644
--- a/sys/dev/hwpmc/hwpmc_intel.c
+++ b/sys/dev/hwpmc/hwpmc_intel.c
@@ -211,6 +211,9 @@ pmc_intel_initialize(void)
break;
case 0x97:
case 0x9A:
+ case 0xB7:
+ case 0xBA:
+ case 0xBF:
cputype = PMC_CPU_INTEL_ALDERLAKE;
nclasses = 3;
break;