Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161725057
D57263.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
880 B
Referenced Files
None
Subscribers
None
D57263.diff
View Options
diff --git a/sys/dev/hwpmc/hwpmc_intel.c b/sys/dev/hwpmc/hwpmc_intel.c
--- a/sys/dev/hwpmc/hwpmc_intel.c
+++ b/sys/dev/hwpmc/hwpmc_intel.c
@@ -266,6 +266,10 @@
cputype = PMC_CPU_INTEL_EMERALD_RAPIDS;
nclasses = 3;
break;
+ case 0x8F:
+ cputype = PMC_CPU_INTEL_SAPPHIRE_RAPIDS;
+ nclasses = 3;
+ break;
}
break;
}
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -111,6 +111,7 @@
__PMC_CPU(INTEL_ALDERLAKEN, 0xA1, "Intel AlderlakeN") \
__PMC_CPU(INTEL_GRANITE_RAPIDS, 0xA2, "Intel Granite Rapids") \
__PMC_CPU(INTEL_METEOR_LAKE, 0xA3, "Intel Meteorlake") \
+ __PMC_CPU(INTEL_SAPPHIRE_RAPIDS, 0xA4, "Intel Sapphire Rapids") \
__PMC_CPU(PPC_7450, 0x300, "PowerPC MPC7450") \
__PMC_CPU(PPC_E500, 0x340, "PowerPC e500 Core") \
__PMC_CPU(PPC_970, 0x380, "IBM PowerPC 970") \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 7, 6:44 AM (18 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34788712
Default Alt Text
D57263.diff (880 B)
Attached To
Mode
D57263: pmc: add sapphire rapids model
Attached
Detach File
Event Timeline
Log In to Comment