Skip to content

powerpc/perf: Fixes for power10 PMU

Athira Rajeev linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyApplied
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Addressed Michael Ellerman's comments in the patchset. Split patch 2 to address l2l3 and threshold events group constraints fixes separately.
Split Patch 3 also to address event code updates separately for generic and cache events. Fixed commit messages and also PMCCEXT bit setting during event enable.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7powerpc/perf: Fix to update radix_scope_qual in power10arch/powerpc/perf/isa207-common.c arch/powerpc/perf/isa207-common.h arch/powerpc/perf/power10-pmu.c+29 -70 replies
2/7powerpc/perf: Update the PMU group constraints for l2l3 events in power10arch/powerpc/perf/isa207-common.c+5 -30 replies
3/7powerpc/perf: Fix the PMU group constraints for threshold events in power10arch/powerpc/perf/isa207-common.c arch/powerpc/perf/isa207-common.h+9 -10 replies
4/7powerpc/perf: Add generic and cache event list for power10 DD1arch/powerpc/perf/power10-pmu.c+152 -00 replies
5/7powerpc/perf: Fix to update generic event codes for power10arch/powerpc/perf/power10-events-list.h arch/powerpc/perf/power10-pmu.c+12 -60 replies
6/7powerpc/perf: Fix to update cache events with l2l3 events in power10arch/powerpc/perf/power10-events-list.h arch/powerpc/perf/power10-pmu.c+15 -30 replies
7/7powerpc/perf: MMCR0 control for PMU registers under PMCC=00arch/powerpc/include/asm/reg.h arch/powerpc/kernel/cpu_setup_power.c arch/powerpc/kernel/dt_cpu_ftrs.c +2 more+15 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 0/7] powerpc/perf: Fixes for power10 PMU

Patchset contains PMU fixes for power10.

This patchset contains 7 patches.
Patch1 includes fix to update event code with radix_scope_qual bit in power10.
Patch2 and Patch3 updates the event group constraints for L2/L3 and threshold events in power10.
Patch4, patch5 and patch6 includes the event code changes for l2/l3 events and some of the generic events.
Patch7 adds fixes for PMCCEXT bit in power10.

Changelog:
Changes from v1 -> v2
- Addressed Michael Ellerman's comments in the patchset. Split patch 2 to address l2l3 and threshold events group constraints fixes separately.
Split Patch 3 also to address event code updates separately for generic and cache events. Fixed commit messages and also PMCCEXT bit setting during event enable.

Athira Rajeev (7):
powerpc/perf: Fix to update radix_scope_qual in power10 powerpc/perf: Update the PMU group constraints for l2l3 events in

    power10
  powerpc/perf: Fix the PMU group constraints for threshold events in
    power10

powerpc/perf: Add generic and cache event list for power10 DD1 powerpc/perf: Fix to update generic event codes for power10 powerpc/perf: Fix to update cache events with l2l3 events in power10 powerpc/perf: MMCR0 control for PMU registers under PMCC=00

 arch/powerpc/include/asm/reg.h          |   1 +
 arch/powerpc/kernel/cpu_setup_power.c   |   1 +
 arch/powerpc/kernel/dt_cpu_ftrs.c       |   1 +
 arch/powerpc/perf/core-book3s.c         |   4 +
 arch/powerpc/perf/isa207-common.c       |  35 ++++++-
 arch/powerpc/perf/isa207-common.h       |  16 ++-
 arch/powerpc/perf/power10-events-list.h |   9 ++
 arch/powerpc/perf/power10-pmu.c         | 178 ++++++++++++++++++++++++++++++--
 8 files changed, 231 insertions(+), 14 deletions(-)
Signature · 1 line
1.8.3.1