summaryrefslogtreecommitdiff
path: root/drivers/edac/al_mc_edac.c
diff options
context:
space:
mode:
authorGowthami Thiagarajan <gthiagarajan@marvell.com>2024-11-08 09:36:19 +0530
committerWill Deacon <will@kernel.org>2024-12-09 15:57:49 +0000
commit5fcccba1183374c84f2b2392655c15ec4dbe41bc (patch)
tree048f4b3b8c5a6d33b3426204c8d9675e79344ce5 /drivers/edac/al_mc_edac.c
parent59731e231c6fdcdcbb87beb31a10ba819c1fb7f6 (diff)
perf/marvell: Odyssey LLC-TAD performance monitor support
Each TAD provides eight 64-bit counters for monitoring cache behavior.The driver always configures the same counter for all the TADs. The user would end up effectively reserving one of eight counters in every TAD to look across all TADs. The occurrences of events are aggregated and presented to the user at the end of running the workload. The driver does not provide a way for the user to partition TADs so that different TADs are used for different applications. The performance events reflect various internal or interface activities. By combining the values from multiple performance counters, cache performance can be measured in terms such as: cache miss rate, cache allocations, interface retry rate, internal resource occupancy, etc. Each supported counter's event and formatting information is exposed to sysfs at /sys/devices/tad/. Use perf tool stat command to measure the pmu events. For instance: perf stat -e tad_hit_ltg,tad_hit_dtg <workload> Signed-off-by: Gowthami Thiagarajan <gthiagarajan@marvell.com> Link: https://lore.kernel.org/r/20241108040619.753343-6-gthiagarajan@marvell.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/edac/al_mc_edac.c')
0 files changed, 0 insertions, 0 deletions