Skip to content

Commit bc6f72c

Browse files
JamesH65popcornmix
authored andcommitted
AXI performance monitor driver (#2222)
Uses the debugfs I/F to provide access to the AXI bus performance monitors. Requires the new mailbox peripheral access for access to the VPU performance registers, system bus access is done using direct register reads. Signed-off-by: James Hughes <[email protected]>
1 parent f49d564 commit bc6f72c

File tree

3 files changed

+645
-0
lines changed

3 files changed

+645
-0
lines changed

drivers/perf/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,11 @@ config ARM_SPE_PMU
102102
Extension, which provides periodic sampling of operations in
103103
the CPU pipeline and reports this via the perf AUX interface.
104104

105+
config RPI_AXIPERF
106+
depends on ARCH_BCM2835
107+
tristate "RaspberryPi AXI Performance monitors"
108+
default n
109+
help
110+
Say y if you want to use Raspberry Pi AXI performance monitors, m if
111+
you want to build it as a module.
105112
endmenu

drivers/perf/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o
99
obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o
1010
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o
1111
obj-$(CONFIG_ARM_SPE_PMU) += arm_spe_pmu.o
12+
obj-$(CONFIG_RPI_AXIPERF) += raspberrypi_axi_monitor.o

0 commit comments

Comments
 (0)