summaryrefslogtreecommitdiff
path: root/drivers/perf/Kconfig
diff options
context:
space:
mode:
authorTai Nguyen <ttnguyen@apm.com>2016-07-15 10:38:04 -0700
committerDuc Dang <dhdang@apm.com>2016-09-15 11:20:55 -0700
commit832c927d119b5be3a01376b8e3033286eb5797e1 (patch)
treea110c4f598690d41b5e00eed9c5fe0309a3b59d7 /drivers/perf/Kconfig
parenteef691c816422603cf5d1306061aae3064056259 (diff)
downloadlwn-832c927d119b5be3a01376b8e3033286eb5797e1.tar.gz
lwn-832c927d119b5be3a01376b8e3033286eb5797e1.zip
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 <ttnguyen@apm.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Diffstat (limited to 'drivers/perf/Kconfig')
-rw-r--r--drivers/perf/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 04e2653bb8c0..4d5c5f9f0dbd 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -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