Skip to content

cn10k DDR Performance monitor support

Bharat Bhushan linux-arm-kernel linux-devicetree lkml 8 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest4 patches 1 replyApplied
  2. v74 patches 0 repliesSuperseded
  3. v64 patches 2 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v54 patches3 repliesSuperseded
v44 patches7 repliesSuperseded
v34 patches1 replySuperseded
v24 patches6 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v8 from the cover letter

- Fixed warning when W=1 and CONFIG_OF=n
- Rebased to fix merge error

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: perf: marvell: cn10k ddr performance monitorDocumentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml+37 -00 replies
2/4perf/marvell: CN10k DDR performance monitor supportdrivers/perf/Makefile drivers/perf/marvell_cn10k_ddr_pmu.c+602 -00 replies
3/4perf/marvell: cn10k DDR perfmon event overflow handlingdrivers/perf/marvell_cn10k_ddr_pmu.c+111 -00 replies
4/4perf/marvell: cn10k DDR perf event core ownershipdrivers/perf/Kconfig drivers/perf/marvell_cn10k_ddr_pmu.c include/linux/cpuhotplug.h+56 -20 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRob HerringBhaskara Budiredla
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v8 thread

Cover letter [PATCH v8 0/4] cn10k DDR Performance monitor support

This patch series adds DDR performance monitor support on Marvell cn10k series of processor.

First patch adds device tree binding changes.
Second patch add basic support (without overflow and event ownership). Third and fourth patch adds overflow and event ownership respectively.

Seems like 4th patch can be merged in second patch, For easy review it is currently separate

v7->v8:
- Fixed warning when W=1 and CONFIG_OF=n
- Rebased to fix merge error

v6->v7:
- Moved Kconfig to last patch
- added Reviewed-by

v5->v6:
- Changed COMPILE_TEST to (COMPILE_TEST && 64BIT)

v4->v5:
- Added missing COMPILE_TEST dependency

v3->v4:
- Added Rob Herring reviewed-by for dt-binding patch

v2->v3:
- dt-binding, ddrcpmu@1 -> pmu@87e1c0000000
- Add COMPILE_TEST as a dependency
- Switch to sysfs_emit()
- Error propagation when invalif event requested
- Switch to devm_platform_get_and_ioremap_resource()
- Other review comments on v2.

v1->v2:
- DT binding changed to new DT Schema
- writeq/readq changed to respective relaxed
- Using PMU_EVENT_ATTR_ID

Bharat Bhushan (4):
dt-bindings: perf: marvell: cn10k ddr performance monitor perf/marvell: CN10k DDR performance monitor support perf/marvell: cn10k DDR perfmon event overflow handling perf/marvell: cn10k DDR perf event core ownership

 .../bindings/perf/marvell-cn10k-ddr.yaml      |  37 +
 drivers/perf/Kconfig                          |   7 +
 drivers/perf/Makefile                         |   1 +
 drivers/perf/marvell_cn10k_ddr_pmu.c          | 758 ++++++++++++++++++
 include/linux/cpuhotplug.h                    |   1 +
 5 files changed, 804 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml
 create mode 100644 drivers/perf/marvell_cn10k_ddr_pmu.c
Signature · 1 line
2.17.1