Skip to content

perf/x86/msr: Add some new AMD performance event counters

Huang Rui lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf/x86/msr: Add AMD performance time-stamp counter supportarch/x86/include/asm/cpufeature.h arch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/perf_event_msr.c+10 -00 replies
2/2perf/x86/msr: Add AMD instructions retired performance counterarch/x86/include/asm/cpufeature.h arch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/perf_event_msr.c+23 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf/x86/msr: Add some new AMD performance event counters

Hi all,

This serials of patches add two event counters that are PTSC (performance time-stamp counter) and IRperf (instructions retired count) for AMD new processors. They are incicated by CPUID.8000_0001H:ECX[27] and CPUID.8000_0008H:EBX[1] separately.

Thanks,
Rui

Huang Rui (2):
perf/x86/msr: Add AMD performance time-stamp counter support perf/x86/msr: Add AMD instructions retired performance counter

 arch/x86/include/asm/cpufeature.h    |  2 ++
 arch/x86/include/asm/msr-index.h     |  4 ++++
 arch/x86/kernel/cpu/perf_event_msr.c | 36 ++++++++++++++++++++++++++----------
 3 files changed, 32 insertions(+), 10 deletions(-)
Signature · 1 line
1.9.1