Thread (12 messages) 12 messages, 2 authors, 2021-10-12

RE: [PATCH v4 2/4] perf/marvell: CN10k DDR performance monitor support

From: Bhaskara Budiredla <hidden>
Date: 2021-10-12 09:16:26
Also in: linux-devicetree, lkml

[...]
quoted
v2->v3:
 - Add COMPILE_TEST as a dependency
This is missing.
quoted
 - 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"
quoted
+	depends on ARM64
+	help
+	  Enable perf support for Marvell DDR Performance monitoring
+	  event on CN10K platform.
+
 endmenu
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help