public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] perf: marvell: Add CN20K DDR PMU support
@ 2026-04-01  8:16 Geetha sowjanya
  2026-04-01  8:16 ` [PATCH v3 1/2] dt-bindings: perf: marvell: Document CN20K DDR PMU Geetha sowjanya
  2026-04-01  8:16 ` [PATCH v3 2/2] perf: marvell: Add CN20K DDR PMU support Geetha sowjanya
  0 siblings, 2 replies; 6+ messages in thread
From: Geetha sowjanya @ 2026-04-01  8:16 UTC (permalink / raw)
  To: linux-perf-users, linux-kernel, linux-arm-kernel, devicetree
  Cc: mark.rutland, will, krzk+dt

This series adds support for the Marvell CN20K DRAM Subsystem (DSS)
performance monitor in the existing marvell_cn10k_ddr_pmu driver, and
documents the device tree binding for the new compatible string.

The CN20K PMU provides eight programmable counters and two fixed
counters (DDR reads and writes).  Patch 1 adds the devicetree schema for
"marvell,cn20k-ddr-pmu".  Patch 2 wires OF and ACPI (MRVL000B) match
entries, adds CN20K register offsets and event maps, and refactors
platform data to use silicon variant flags.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>

Changes in v2:
 - Fixed YAML syntax error triggered by a tab character in the examples
  section, which caused dt_binding_check to fail.

Changes in v1:
- Added a description field to the binding.
- Simplified the compatible property using 'const' instead of 'items/enum'.
- Updated the example node name to include a unit-address matching the reg base.

Geetha sowjanya (2):
  dt-bindings: perf: marvell: Document CN20K DDR PMU
  perf: marvell: Add CN20K DDR PMU support

 .../bindings/perf/marvell-cn20k-ddr.yaml      |  37 ++++
 drivers/perf/marvell_cn10k_ddr_pmu.c          | 186 ++++++++++++++++--
 2 files changed, 207 insertions(+), 16 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/perf/marvell-cn20k-ddr.yaml

-- 
2.25.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-02  9:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01  8:16 [PATCH v3 0/2] perf: marvell: Add CN20K DDR PMU support Geetha sowjanya
2026-04-01  8:16 ` [PATCH v3 1/2] dt-bindings: perf: marvell: Document CN20K DDR PMU Geetha sowjanya
2026-04-02  7:16   ` Krzysztof Kozlowski
2026-04-02  9:07     ` [EXTERNAL] " Geethasowjanya Akula
2026-04-02  7:17   ` Krzysztof Kozlowski
2026-04-01  8:16 ` [PATCH v3 2/2] perf: marvell: Add CN20K DDR PMU support Geetha sowjanya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox