mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
eef691c816
commit
832c927d11
4 changed files with 1454 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
1398
drivers/perf/xgene_pmu.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue