[PATCH 0/7] powerpc/perf: Add support for power10 PMU Hardware

Athira Rajeev atrajeev at linux.vnet.ibm.com
Fri Jun 5 17:57:03 AEST 2020


The patch series adds support for power10 PMU hardware.
And code changes are based on powerpc/next.

Athira Rajeev (4):
  KVM: PPC: Book3S HV: Save/restore new PMU registers
  powerpc/perf: Update Power PMU cache_events to u64 type
  powerpc/perf: power10 Performance Monitoring support
  powerpc/perf: support BHRB disable bit and new filtering modes

Madhavan Srinivasan (3):
  powerpc/perf: Add support for ISA3.1 PMU SPRs
  powerpc/xmon: Add PowerISA v3.1 PMU SPRs
  powerpc/perf: Add power10_feat to dt_cpu_ftrs

 arch/powerpc/include/asm/kvm_book3s_asm.h    |   2 +-
 arch/powerpc/include/asm/kvm_host.h          |   4 +-
 arch/powerpc/include/asm/perf_event_server.h |   3 +-
 arch/powerpc/include/asm/processor.h         |   4 +
 arch/powerpc/include/asm/reg.h               |   9 +
 arch/powerpc/kernel/asm-offsets.c            |   3 +
 arch/powerpc/kernel/cpu_setup_power.S        |   7 +
 arch/powerpc/kernel/dt_cpu_ftrs.c            |  26 ++
 arch/powerpc/kernel/sysfs.c                  |   8 +
 arch/powerpc/kvm/book3s_hv.c                 |   6 +-
 arch/powerpc/kvm/book3s_hv_interrupts.S      |   8 +
 arch/powerpc/kvm/book3s_hv_rmhandlers.S      |  24 ++
 arch/powerpc/perf/Makefile                   |   2 +-
 arch/powerpc/perf/core-book3s.c              |  60 +++-
 arch/powerpc/perf/generic-compat-pmu.c       |   2 +-
 arch/powerpc/perf/internal.h                 |   1 +
 arch/powerpc/perf/isa207-common.c            |  72 ++++-
 arch/powerpc/perf/isa207-common.h            |  33 +-
 arch/powerpc/perf/mpc7450-pmu.c              |   2 +-
 arch/powerpc/perf/power10-events-list.h      |  81 +++++
 arch/powerpc/perf/power10-pmu.c              | 431 +++++++++++++++++++++++++++
 arch/powerpc/perf/power5+-pmu.c              |   2 +-
 arch/powerpc/perf/power5-pmu.c               |   2 +-
 arch/powerpc/perf/power6-pmu.c               |   2 +-
 arch/powerpc/perf/power7-pmu.c               |   2 +-
 arch/powerpc/perf/power8-pmu.c               |   2 +-
 arch/powerpc/perf/power9-pmu.c               |   2 +-
 arch/powerpc/perf/ppc970-pmu.c               |   2 +-
 arch/powerpc/platforms/powernv/idle.c        |  14 +
 arch/powerpc/xmon/xmon.c                     |  15 +
 30 files changed, 796 insertions(+), 35 deletions(-)
 create mode 100644 arch/powerpc/perf/power10-events-list.h
 create mode 100644 arch/powerpc/perf/power10-pmu.c

-- 
1.8.3.1



More information about the Linuxppc-dev mailing list