[PATCH v2 0/6] Marvell Odyssey uncore performance monitor support

From: Gowthami Thiagarajan
Date: Sat Aug 12 2023 - 10:25:56 EST


This series of patches introduces support for uncore performance monitor
units (PMUs) on the Marvell Odyssey platform. The PMUs covered in this
series include the PEM PMU, LLC-TAD PMU and DDR PMU.

Patches 1, 3 and 5 adds support for PEM pmu, LLC-TAD pmu, DDR pmu
respectively.
Patches 2, 4 and 6 deal with their respective device tree bindings.

v1->v2:
- Changed DT binding file names to match with compatible
- Added missed validations in perf event init
- Fixed Comment style

Gowthami Thiagarajan (6):
perf/marvell: Marvell PEM performance monitor support
dt-bindings: perf: Add Marvell PEM performance monitor unit
perf/marvell : Odyssey LLC-TAD performance monitor support
dt-bindings: perf: Add Marvell Odyssey LLC-TAD pmu
perf/marvell: Odyssey DDR Performance monitor support
dt-bindings: perf: Add Marvell Odyssey DDR PMU

.../perf/marvell,odyssey-pem-pmu.yaml | 38 ++
.../perf/marvell,odyssey-tad-pmu.yaml | 63 +++
.../bindings/perf/marvell-cn10k-ddr.yaml | 9 +-
MAINTAINERS | 16 +
drivers/perf/Kconfig | 14 +
drivers/perf/Makefile | 2 +
drivers/perf/marvell_cn10k_ddr_pmu.c | 435 ++++++++++++++---
drivers/perf/marvell_odyssey_tad_pmu.c | 424 +++++++++++++++++
drivers/perf/marvell_pem_pmu.c | 437 ++++++++++++++++++
include/linux/cpuhotplug.h | 1 +
10 files changed, 1369 insertions(+), 70 deletions(-)
create mode 100644 Documentation/devicetree/bindings/perf/marvell,odyssey-pem-pmu.yaml
create mode 100644 Documentation/devicetree/bindings/perf/marvell,odyssey-tad-pmu.yaml
create mode 100644 drivers/perf/marvell_odyssey_tad_pmu.c
create mode 100644 drivers/perf/marvell_pem_pmu.c

--
2.25.1