Skip to content

Commit

Permalink
perf/marvell: CN10k DDR performance monitor support
Browse files Browse the repository at this point in the history
Marvell CN10k DRAM Subsystem (DSS) supports eight event counters for
monitoring performance and software can program each counter to monitor
any of the defined performance event. Performance events are for
interface between the DDR controller and the PHY, interface between the
DDR Controller and the CHI interconnect, or within the DDR Controller.
Additionally DSS also supports two fixed performance event counters, one
for number of ddr reads and other for ddr writes.

This patch add basic support for these performance monitoring events
on CN10k.

Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
  • Loading branch information
Bharat Bhushan authored and intel-lab-lkp committed Oct 18, 2021
1 parent e2ca57e commit c165c12
Show file tree
Hide file tree
Showing 3 changed files with 607 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/perf/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 || COMPILE_TEST
help
Enable perf support for Marvell DDR Performance monitoring
event on CN10K platform.

endmenu
1 change: 1 addition & 0 deletions drivers/perf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ obj-$(CONFIG_THUNDERX2_PMU) += thunderx2_pmu.o
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o
obj-$(CONFIG_ARM_SPE_PMU) += arm_spe_pmu.o
obj-$(CONFIG_ARM_DMC620_PMU) += arm_dmc620_pmu.o
obj-$(CONFIG_MARVELL_CN10K_DDR_PMU) += marvell_cn10k_ddr_pmu.o
Loading

0 comments on commit c165c12

Please sign in to comment.