]> git.baikalelectronics.ru Git - kernel.git/commit
perf/marvell: CN10k DDR performance monitor support
authorBharat Bhushan <bbhushan2@marvell.com>
Fri, 11 Feb 2022 04:53:44 +0000 (10:23 +0530)
committerWill Deacon <will@kernel.org>
Tue, 8 Mar 2022 11:17:37 +0000 (11:17 +0000)
commit3e2b2a56929cc7d98ee32bfee68d4fbf5bb6e155
tree74aca2bf8c0215fa016e1253ba76bd6f51b4443c
parent49427c16e576485fb3caf39670fc0c342054ae2c
perf/marvell: CN10k DDR performance monitor support

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>
Reviewed-by: Bhaskara Budiredla <bbudiredla@marvell.com>
Link: https://lore.kernel.org/r/20220211045346.17894-3-bbhushan2@marvell.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/Makefile
drivers/perf/marvell_cn10k_ddr_pmu.c [new file with mode: 0644]