]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/marvell: Marvell PEM performance monitor support
authorGowthami Thiagarajan <gthiagarajan@marvell.com>
Mon, 28 Oct 2024 05:53:09 +0000 (11:23 +0530)
committerWill Deacon <will@kernel.org>
Mon, 28 Oct 2024 17:35:35 +0000 (17:35 +0000)
commite1dce56443a4a18978fe39ee4af663e5b6b31422
tree2ab791d52e45ba460cfa153d2d7772851b672938
parent0bbff9ed81654d5f06bfca484681756ee407f924
perf/marvell: Marvell PEM performance monitor support

PCI Express Interface PMU includes various performance counters
to monitor the data that is transmitted over the PCIe link. The
counters track various inbound and outbound transactions which
includes separate counters for posted/non-posted/completion TLPs.
Also, inbound and outbound memory read requests along with their
latencies can also be monitored. Address Translation Services(ATS)events
such as ATS Translation, ATS Page Request, ATS Invalidation along with
their corresponding latencies are also supported.

The performance counters are 64 bits wide.

For instance,
perf stat -e ib_tlp_pr <workload>
tracks the inbound posted TLPs for the workload.

Co-developed-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com>
Link: https://lore.kernel.org/r/20241028055309.17893-1-gthiagarajan@marvell.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/perf/index.rst
Documentation/admin-guide/perf/mrvl-pem-pmu.rst [new file with mode: 0644]
MAINTAINERS
drivers/perf/Kconfig
drivers/perf/Makefile
drivers/perf/marvell_pem_pmu.c [new file with mode: 0644]
include/linux/cpuhotplug.h