[...] >> >> v2->v3: >> - Add COMPILE_TEST as a dependency This is missing. >> - 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: >> - writeq/readq changed to respective relaxed version >> - Using PMU_EVENT_ATTR_ID >> >> drivers/perf/Kconfig | 7 + >> drivers/perf/Makefile | 1 + >> drivers/perf/marvell_cn10k_ddr_pmu.c | 599 >> +++++++++++++++++++++++++++ >> 3 files changed, 607 insertions(+) >> create mode 100644 drivers/perf/marvell_cn10k_ddr_pmu.c >> >> diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index >> 77522e5efe11..41a80a4b8d29 100644 >> --- a/drivers/perf/Kconfig >> +++ b/drivers/perf/Kconfig >> @@ -139,4 +139,11 @@ config ARM_DMC620_PMU >> >> source "drivers/perf/hisilicon/Kconfig" >> >> +config MARVELL_CN10K_DDR_PMU >> + tristate "Enable MARVELL CN10K DRAM Subsystem(DSS) PMU >Support" >> + depends on ARM64 >> + help >> + Enable perf support for Marvell DDR Performance monitoring >> + event on CN10K platform. >> + >> endmenu