Skip to content

drivers: perf: Add Marvell CN10K LLC-TAD pmu driver

Bhaskara Budiredla linux-arm-kernel linux-devicetree lkml 7 versions – Applied

Status from this message: Applied to arm64 (for-next/perf-cn10k), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 2 repliesApplied
  2. v62 patches 3 repliesSuperseded
  3. v52 patches 7 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v42 patches1 replySuperseded
v32 patches5 repliesSuperseded
v21 patch2 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v7 from the cover letter

- use braces around a multi-line conditional statement (Will Deacon)
- remove mask doesn't do anything (Will Deacon)
- restrict compile test dependency to aarch64

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/2drivers: perf: Add LLC-TAD perf counter supportdrivers/perf/Kconfig drivers/perf/Makefile drivers/perf/marvell_cn10k_tad_pmu.c+437 -01 reply
2/2dt-bindings: perf: Add YAML schemas for Marvell CN10K LLC-TAD pmu bindingsDocumentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml+63 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/2] drivers: perf: Add Marvell CN10K LLC-TAD pmu driver

This series introduces performance monitor driver to Last-level-cache tag-and-data (LLC-TAD) PMU which is an integral part of Marvell CN10K SoCs. The configuration and functionality of the TAD PMU is covered in patch 1. The device tree bindings are dealt in patch 2.

v7:
- use braces around a multi-line conditional statement (Will Deacon)
- remove mask doesn't do anything (Will Deacon)
- restrict compile test dependency to aarch64

v6:
- add COMPILE_TEST dependency (Bharat Bhushan)
- replace sprintf with sysfs_emit (Bharat Bhushan)

v5:
- add prefix, type, description for vendor specific properties in DT bindings (Rob Herring)

v4:
- rebased on kernel v5.14-rc7
- eliminate yamllint errors (Rob Herring)

v3:
- rebased on kernel v5.14-rc5
- disable sampling events via PERF_PMU_CAP_NO_INTERRUPT (Will Deacon)
- convert tad pmu bindings to schema (Will Deacon)
- replace tighter semantics with *_relaxed() accesses (Will Deacon)
- use PMU_EVENT_ATTR_ID generic macro (Will Deacon)
- allow cleanup of allocations through devm_kcalloc() (Will Deacon)

v2:
- rebased on kernel v5.13-rc3

Bhaskara Budiredla (2):
drivers: perf: Add LLC-TAD perf counter support
dt-bindings: perf: Add YAML schemas for Marvell CN10K LLC-TAD pmu
bindings

 .../bindings/perf/marvell-cn10k-tad.yaml      |  63 +++
 drivers/perf/Kconfig                          |   7 +
 drivers/perf/Makefile                         |   1 +
 drivers/perf/marvell_cn10k_tad_pmu.c          | 429 ++++++++++++++++++
 4 files changed, 500 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml
 create mode 100644 drivers/perf/marvell_cn10k_tad_pmu.c
Signature · 1 line
2.17.1