summaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm_pmu_platform.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2018-02-05 16:41:59 +0000
committerWill Deacon <will.deacon@arm.com>2018-02-20 11:34:54 +0000
commit43fc9a2febbd96dd39588d67ace456b7bbc73d9f (patch)
treebf198537d7cd75175ed02b2752eaef6ca70af527 /drivers/perf/arm_pmu_platform.c
parent0dc1a1851af1d593eee248b94c1277c7c7ccbbce (diff)
downloadlinux-43fc9a2febbd96dd39588d67ace456b7bbc73d9f.tar.bz2
arm_pmu: acpi: check for mismatched PPIs
The arm_pmu platform code explicitly checks for mismatched PPIs at probe time, while the ACPI code leaves this to the core code. Future refactoring will make this difficult for the core code to check, so let's have the ACPI code check this explicitly. As before, upon a failure we'll continue on without an interrupt. Ho hum. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf/arm_pmu_platform.c')
-rw-r--r--drivers/perf/arm_pmu_platform.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/perf/arm_pmu_platform.c b/drivers/perf/arm_pmu_platform.c
index 244558cfdbce..1dc3c1f574e0 100644
--- a/drivers/perf/arm_pmu_platform.c
+++ b/drivers/perf/arm_pmu_platform.c
@@ -127,13 +127,6 @@ static int pmu_parse_irqs(struct arm_pmu *pmu)
pdev->dev.of_node);
}
- /*
- * Some platforms have all PMU IRQs OR'd into a single IRQ, with a
- * special platdata function that attempts to demux them.
- */
- if (dev_get_platdata(&pdev->dev))
- cpumask_setall(&pmu->supported_cpus);
-
for (i = 0; i < num_irqs; i++) {
int cpu, irq;