Page MenuHomeFreeBSD

pmc: add sapphire rapids model
ClosedPublic

Authored by anaelle.cazuc_stormshield.eu on Wed, May 27, 8:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 22, 4:49 AM
Unknown Object (File)
Thu, Jun 18, 11:39 AM
Unknown Object (File)
Wed, Jun 17, 2:37 AM
Unknown Object (File)
Thu, Jun 11, 5:04 PM
Unknown Object (File)
Tue, Jun 9, 3:07 PM
Unknown Object (File)
Tue, Jun 9, 3:03 PM
Unknown Object (File)
Tue, Jun 9, 1:22 PM
Unknown Object (File)
Tue, Jun 9, 1:19 PM
Subscribers

Details

Summary

this commit adds the sapphire rapids CPU model to hwpmc_intel.c, allowing hwpmc to be used on this CPU family

Sponsored-By: Stormshield

Test Plan

Tested on a Intel(R) Xeon(R) Gold 6444Y processor:

before:

# dmesg | grep -i pmc
[1] pmc: Unknown Intel CPU.
[1] hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI>

after:

# dmesg | grep -i pmc
[1] hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA> IAP/8/48/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC> IAF/4/48/0x67<INT,USR,SYS,REA,WRI>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Wed, May 27, 6:33 PM

Can you please confirm the author field for the commit:

Anaelle Cazuc <anaelle.cazuc@stormshield.eu>

Or something else?

Can you please confirm the author field for the commit:

Anaelle Cazuc <anaelle.cazuc@stormshield.eu>

Or something else?

This author is good :)

This revision was automatically updated to reflect the committed changes.