summaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm_v7_pmu.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2024-06-27 00:32:28 +0200
committerWill Deacon <will@kernel.org>2024-07-03 15:07:14 +0200
commit12f051c987dc91d3bf7c4dbb740321f8b24070b4 (patch)
treee08bde10269614c237393329818a53c8fef32d52 /drivers/perf/arm_v7_pmu.c
parentperf/arm: Move 32-bit PMU drivers to drivers/perf/ (diff)
downloadlinux-12f051c987dc91d3bf7c4dbb740321f8b24070b4.tar.xz
linux-12f051c987dc91d3bf7c4dbb740321f8b24070b4.zip
perf: arm_v6/7_pmu: Drop non-DT probe support
There are no non-DT based PMU users for v6 or v7, so drop the custom non-DT probe table. Unfortunately XScale still needs non-DT probing. Note that this drops support for arm1156 PMU, but there are no arm1156 based systems supported in the kernel. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240626-arm-pmu-3-9-icntr-v2-4-c9784b4f4065@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/arm_v7_pmu.c')
-rw-r--r--drivers/perf/arm_v7_pmu.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/perf/arm_v7_pmu.c b/drivers/perf/arm_v7_pmu.c
index fdd936fbd188..928ac3d626ed 100644
--- a/drivers/perf/arm_v7_pmu.c
+++ b/drivers/perf/arm_v7_pmu.c
@@ -1977,17 +1977,9 @@ static const struct of_device_id armv7_pmu_of_device_ids[] = {
{},
};
-static const struct pmu_probe_info armv7_pmu_probe_table[] = {
- ARM_PMU_PROBE(ARM_CPU_PART_CORTEX_A8, armv7_a8_pmu_init),
- ARM_PMU_PROBE(ARM_CPU_PART_CORTEX_A9, armv7_a9_pmu_init),
- { /* sentinel value */ }
-};
-
-
static int armv7_pmu_device_probe(struct platform_device *pdev)
{
- return arm_pmu_device_probe(pdev, armv7_pmu_of_device_ids,
- armv7_pmu_probe_table);
+ return arm_pmu_device_probe(pdev, armv7_pmu_of_device_ids, NULL);
}
static struct platform_driver armv7_pmu_driver = {