Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
BACKPORT: perf: Add Arm CMN-600 PMU driver
Browse files Browse the repository at this point in the history
Replaced the current version with upstreamed version.

Initial driver for PMU event counting on the Arm CMN-600 interconnect.
CMN sports an obnoxiously complex distributed PMU system as part of
its debug and trace features, which can do all manner of things like
sampling, cross-triggering and generating CoreSight trace. This driver
covers the PMU functionality, plus the relevant aspects of watchpoints
for simply counting matching flits.

Tested-by: Tsahi Zidenberg <[email protected]>
Tested-by: Tuan Phan <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>

Backported from: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/perf/arm-cmn.c?id=0ba64770a2f2e5a104bf835e133d78d3f82287ad

Signed-off-by: Tuan Phan <[email protected]>
  • Loading branch information
tphan-ampere committed Jan 4, 2021
1 parent d6f5dfc commit 4ccd6fc
Show file tree
Hide file tree
Showing 2 changed files with 799 additions and 564 deletions.
2 changes: 1 addition & 1 deletion drivers/perf/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ config ARM_CCN

config ARM_CMN
tristate "Arm CMN-600 PMU support"
depends on ARM || ARM64
depends on ARM64 || (COMPILE_TEST && 64BIT)
help
Support for PMU events monitoring on the Arm CMN-600 Coherent Mesh
Network interconnect.
Expand Down
Loading

0 comments on commit 4ccd6fc

Please sign in to comment.