perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

This patch adds a driver for the SoC-wide (AKA uncore) PMU hardware
found in APM X-Gene SoCs.

Signed-off-by: Tai Nguyen <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
This commit is contained in:
Tai Nguyen 2016-07-15 10:38:04 -07:00 • committed by Duc Dang
commit 832c927d11
4 changed files with 1454 additions and 0 deletions

View file

@ -12,4 +12,11 @@ config ARM_PMU
Say y if you want to use CPU performance monitors on ARM-based
systems.
config XGENE_PMU
depends on PERF_EVENTS && ARCH_XGENE
bool "APM X-Gene SoC PMU"
default n
help
Say y if you want to use APM X-Gene SoC performance monitors.
endmenu

View file

@ -1 +1,2 @@
obj-$(CONFIG_ARM_PMU) += arm_pmu.o
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o

1398
drivers/perf/xgene_pmu.c Normal file

File diff suppressed because it is too large Load diff