diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-04-11 09:39:55 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-04-11 16:29:54 +0100 |
commit | 45736a72fb79b204c1fbdb08a1e1a2aa52c7281a (patch) | |
tree | f5d754d6d02135ec024e9253fbf51d759c202edf /drivers/perf/Kconfig | |
parent | e0013aed489e7ebbba59d7ada2ff5551ac4b61c6 (diff) | |
download | linux-45736a72fb79b204c1fbdb08a1e1a2aa52c7281a.tar.gz linux-45736a72fb79b204c1fbdb08a1e1a2aa52c7281a.tar.bz2 linux-45736a72fb79b204c1fbdb08a1e1a2aa52c7281a.zip |
drivers/perf: arm_pmu: add ACPI framework
This patch adds framework code to handle parsing PMU data out of the
MADT, sanity checking this, and managing the association of CPUs (and
their interrupts) with appropriate logical PMUs.
For the time being, we expect that only one PMU driver (PMUv3) will make
use of this, and we simply pass in a single probe function.
This is based on an earlier patch from Jeremy Linton.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf/Kconfig')
-rw-r--r-- | drivers/perf/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index c436e0d303e7..aa587edaf9ea 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -12,6 +12,10 @@ config ARM_PMU Say y if you want to use CPU performance monitors on ARM-based systems. +config ARM_PMU_ACPI + depends on ARM_PMU && ACPI + def_bool y + config QCOM_L2_PMU bool "Qualcomm Technologies L2-cache PMU" depends on ARCH_QCOM && ARM64 && PERF_EVENTS && ACPI |