aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/asmc/asmcmmio.h
diff options
context:
space:
mode:
authorAndre Silva <andasilv@amd.com>2026-09-28 19:07:22 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2026-09-28 19:23:34 +0000
commit9d30640105900a72437380636f70dd1872ca9e22 (patch)
treee0ee112625f29bc0c09fbbf83b9a79058a64f5e0 /sys/dev/asmc/asmcmmio.h
parent34b00ed041a49eecc85b9a91748145ada14d83c5 (diff)
hwpmc_amd: add PerfMonV2 global-control pathHEADmain
Add support for AMD PerfMonV2 (Family 19h+) core counters, which need both the per-counter EVSEL enable bit and the global GLOBAL_CTL bit set to count. Detects PerfMonV2 at init and switches to v2-specific start/stop/interrupt handlers; older CPUs and L3/DF counters keep using the classic path unchanged. Adds a read-only sysctl, kern.hwpmc.amd_perfmon_v2, to report which path is active. Signed-off-by: Andre Silva <andasilv@amd.com> Reviewed by: Ali Mashtizadeh <ali@mashtizadeh.com> Sponsored by: AMD Differential Revision: https://reviews.freebsd.org/D58256
Diffstat (limited to 'sys/dev/asmc/asmcmmio.h')
0 files changed, 0 insertions, 0 deletions