Skip to content

Cavium ARM64 uncore PMU support

Jan Glauber linux-arm-kernel lkml 10 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest7 patches 6 repliesApplied
  2. v9 RFC7 patches 12 repliesSuperseded
  3. v83 patches 33 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v73 patches5 repliesSuperseded
v63 patches1 replySuperseded
v53 patches5 repliesSuperseded
v45 patches8 repliesSuperseded
v35 patches11 repliesSuperseded
v25 patches19 repliesSuperseded
v1 RFC7 patches10 repliesSuperseded

Changes to v9 from the cover letter

- Fix build error in first EDAC patch
- Use alphabetic ordering in some places
- Store pmu name in struct pmu
- Use devm_*
- Remove mapping of LMC events, expose hardware event numbers directly
- Simplify event removal

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/7edac: thunderx: Remove suspend/resume supportdrivers/edac/thunderx_edac.c+0 -251 reply
2/7perf: export perf_event_update_userpage()kernel/events/core.c+1 -00 replies
3/7edac,soc: thunderx: Add wrapper for EDAC LMC PCI devicedrivers/edac/Kconfig drivers/edac/thunderx_edac.c drivers/soc/Kconfig +5 more+76 -203 replies
4/7edac,soc: thunderx: Add wrapper for EDAC OCX PCI devicedrivers/edac/Kconfig drivers/edac/thunderx_edac.c drivers/soc/cavium/Kconfig +3 more+67 -350 replies
5/7perf: cavium: Support memory controller PMU countersdrivers/perf/Kconfig drivers/perf/Makefile drivers/perf/cavium_pmu.c +3 more+447 -01 reply
6/7perf: cavium: Support transmit-link PMU countersdrivers/perf/Kconfig drivers/perf/cavium_pmu.c drivers/soc/cavium/Kconfig +2 more+248 -01 reply
7/7perf: cavium: Add DocumentationDocumentation/perf/cavium-pmu.txt+75 -00 replies

Reviews trailers per patch

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

Read the v10 thread

Cover letter [PATCH v10 0/7] Cavium ARM64 uncore PMU support

Add support for various PMU counters found on the Cavium ThunderX and OcteonTx SoC.

The PMU driver provides common "uncore" functions to avoid code duplication and support adding more device PMUs (like L2 cache) in the future.

Changes to v9:
- Fix build error in first EDAC patch
- Use alphabetic ordering in some places
- Store pmu name in struct pmu
- Use devm_*
- Remove mapping of LMC events, expose hardware event numbers directly
- Simplify event removal

Changes to v8:
- Wrapper for PCI devices

Jan Glauber (7):
edac: thunderx: Remove suspend/resume support
perf: export perf_event_update_userpage() edac,soc: thunderx: Add wrapper for EDAC LMC PCI device edac,soc: thunderx: Add wrapper for EDAC OCX PCI device
perf: cavium: Support memory controller PMU counters
perf: cavium: Support transmit-link PMU counters
perf: cavium: Add Documentation

 Documentation/perf/cavium-pmu.txt |  75 +++++
 drivers/edac/Kconfig              |   3 +
 drivers/edac/thunderx_edac.c      |  92 +-----
 drivers/perf/Kconfig              |  15 +
 drivers/perf/Makefile             |   1 +
 drivers/perf/cavium_pmu.c         | 660 ++++++++++++++++++++++++++++++++++++++
 drivers/soc/Kconfig               |   1 +
 drivers/soc/Makefile              |   1 +
 drivers/soc/cavium/Kconfig        |  14 +
 drivers/soc/cavium/Makefile       |   2 +
 drivers/soc/cavium/cavium_lmc.c   |  53 +++
 drivers/soc/cavium/cavium_ocx.c   |  49 +++
 include/linux/cpuhotplug.h        |   1 +
 include/linux/soc/cavium/lmc.h    |  12 +
 include/linux/soc/cavium/ocx.h    |  12 +
 kernel/events/core.c              |   1 +
 16 files changed, 913 insertions(+), 79 deletions(-)
 create mode 100644 Documentation/perf/cavium-pmu.txt
 create mode 100644 drivers/perf/cavium_pmu.c
 create mode 100644 drivers/soc/cavium/Kconfig
 create mode 100644 drivers/soc/cavium/Makefile
 create mode 100644 drivers/soc/cavium/cavium_lmc.c
 create mode 100644 drivers/soc/cavium/cavium_ocx.c
 create mode 100644 include/linux/soc/cavium/lmc.h
 create mode 100644 include/linux/soc/cavium/ocx.h
Signature · 1 line
2.9.0.rc0.21.g7777322