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

Commit

Permalink
BACKPORT: WIP: perf: Add Arm CMN-600 PMU driver
Browse files Browse the repository at this point in the history
This is a very alpha-quality driver for basic PMU event counting on the
CMN-600 interconnect. There are many many things it does not yet do, but
what I don't know is which of those things it needs to do next.

This patch is part of the eMAG2 CMN-600 PMU patch set.
This patch is backported from:
http://www.linux-arm.org/git?p=linux-rm.git;a=commit;h=3157d338542a100907fb71d3a80a2eaa259e9a9f

Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Khuong Dinh <[email protected]>
  • Loading branch information
rmurphy-arm authored and tphan-ampere committed Apr 21, 2020
1 parent eea0670 commit e578012
Show file tree
Hide file tree
Showing 4 changed files with 1,051 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 @@ -40,6 +40,13 @@ config ARM_CCN
PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
interconnect.

config ARM_CMN
tristate "Arm CMN-600 PMU support"
depends on ARM || ARM64
help
Support for PMU events monitoring on the Arm CMN-600 Coherent Mesh
Network interconnect.

config ARM_PMU
depends on ARM || ARM64
bool "ARM PMU framework"
Expand Down
1 change: 1 addition & 0 deletions drivers/perf/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_ARM_CCI_PMU) += arm-cci.o
obj-$(CONFIG_ARM_CCN) += arm-ccn.o
obj-$(CONFIG_ARM_CMN) += arm-cmn.o
obj-$(CONFIG_ARM_DSU_PMU) += arm_dsu_pmu.o
obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o
obj-$(CONFIG_ARM_PMU_ACPI) += arm_pmu_acpi.o
Expand Down
Loading

0 comments on commit e578012

Please sign in to comment.