Page MenuHomeFreeBSD

hwpmc_amd: tighten up MSR definitions
AcceptedPublic

Authored by mhorne on Aug 1 2023, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 3:54 AM
Unknown Object (File)
Mon, Oct 13, 3:54 AM
Unknown Object (File)
Sun, Oct 12, 4:07 PM
Unknown Object (File)
Fri, Oct 3, 7:19 AM
Unknown Object (File)
Aug 12 2025, 4:01 AM
Unknown Object (File)
Jul 13 2025, 11:05 PM
Unknown Object (File)
Jun 24 2025, 7:27 AM
Unknown Object (File)
Jun 8 2025, 2:51 PM
Subscribers

Details

Reviewers
jkoshy
gnn
Group Reviewers
pmc
Summary

For the core performance counters, prefer the newer MSR addresses to the
legacy (32-bit) ones.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52934
Build 49825: arc lint + arc unit

Event Timeline

mhorne requested review of this revision.Aug 1 2023, 4:24 PM
This revision is now accepted and ready to land.Aug 9 2023, 5:10 AM
sys/dev/hwpmc/hwpmc_amd.h
39

We would also need to decline to support CPUs that use the previous MSR addresses.