summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSandipan Das <sandipan.das@amd.com>2022-05-19 13:03:32 +0300
committerPeter Zijlstra <peterz@infradead.org>2022-06-13 11:15:13 +0300
commit16b48c3f5ed85b8017526b1acacf5115461b489a (patch)
treebae03b254bc94f8ce48f65ebe6ffd033c8684cf0 /lib/mpi/mpiutil.c
parent847f3268bb644ee852732f8e3b5748e4319244b7 (diff)
downloadlinux-16b48c3f5ed85b8017526b1acacf5115461b489a.tar.xz
perf/x86/amd/uncore: Detect available DF counters
If AMD Performance Monitoring Version 2 (PerfMonV2) is supported, use CPUID leaf 0x80000022 EBX to detect the number of Data Fabric (DF) PMCs. This offers more flexibility if the counts change in later processor families. Signed-off-by: Sandipan Das <sandipan.das@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/bac7b2806561e03f2acc7fdc9db94f102df80e1d.1652954372.git.sandipan.das@amd.com
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions