Skip to content

perf, amd: Support for Family 16h L2I Performance Counters

Jacob Shin lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 12 repliesIn review
  2. v1 posting 1/23 patches 1 replySuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf, amd: Further generalize NB event constraints handling logicarch/x86/kernel/cpu/perf_event.h arch/x86/kernel/cpu/perf_event_amd.c+38 -380 replies
2/3perf, x86: Allow for multiple kfree_on_online pointersarch/x86/kernel/cpu/perf_event.c arch/x86/kernel/cpu/perf_event.h arch/x86/kernel/cpu/perf_event_amd.c +1 more+9 -50 replies
3/3perf, amd: Enable L2I performance counters on AMD Family 16harch/x86/include/asm/cpufeature.h arch/x86/include/asm/perf_event.h arch/x86/include/uapi/asm/msr-index.h +2 more+162 -170 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RESEND 0/3] perf, amd: Support for Family 16h L2I Performance Counters

Upcoming AMD Family 16h Processors provide 4 new performance counters to count L2 related events. Similar to northbridge counters, these new counters are shared across multiple CPUs that share the same L2 cache. This patchset adds support for these new counters and enforces sharing by leveraging the existing sharing logic used for the northbridge counters.

Jacob Shin (3):
perf, amd: Further generalize NB event constraints handling logic perf, x86: Allow for multiple kfree_on_online pointers perf, amd: Enable L2I performance counters on AMD Family 16h

 arch/x86/include/asm/cpufeature.h      |    2 +
 arch/x86/include/asm/perf_event.h      |    4 +
 arch/x86/include/uapi/asm/msr-index.h  |    4 +
 arch/x86/kernel/cpu/perf_event.c       |    7 +-
 arch/x86/kernel/cpu/perf_event.h       |   11 +-
 arch/x86/kernel/cpu/perf_event_amd.c   |  235 +++++++++++++++++++++++++-------
 arch/x86/kernel/cpu/perf_event_intel.c |    2 +-
 7 files changed, 207 insertions(+), 58 deletions(-)
Signature · 1 line
1.7.9.5