diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-04-11 10:39:55 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-04-11 17:29:54 +0200 |
commit | 45736a72fb79b204c1fbdb08a1e1a2aa52c7281a (patch) | |
tree | f5d754d6d02135ec024e9253fbf51d759c202edf /drivers/perf/Makefile | |
parent | arm64: add function to get a cpu's MADT GICC table (diff) | |
download | linux-45736a72fb79b204c1fbdb08a1e1a2aa52c7281a.tar.xz 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/Makefile')
-rw-r--r-- | drivers/perf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/Makefile b/drivers/perf/Makefile index 925cd3903029..6420bd4394d5 100644 --- a/drivers/perf/Makefile +++ b/drivers/perf/Makefile @@ -1,4 +1,5 @@ obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o +obj-$(CONFIG_ARM_PMU_ACPI) += arm_pmu_acpi.o obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o |