ARM: perf: remove unused PMU probing code
authorMark Rutland <mark.rutland@arm.com>
Tue, 18 Feb 2014 10:31:10 +0000 (10:31 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 21 Feb 2014 11:11:22 +0000 (11:11 +0000)
commit51e5fef62059e4074054ee731385e0dc7ca561ff
tree8f052345766ba1b336fe456ff877751b7ea8755a
parent5f5092e72cc25a6a5785308270e0085b2b2772cc
ARM: perf: remove unused PMU probing code

The ARM perf backend can discover the type of PMU it needs to drive
either from DT or by probing a CPU it is running on. For
Cortex-A{5,7,15} there are no platforms in mainline not using dt, and
this probing won't work well for big.LITTLE systems with heterogeneous
PMUs.

This patch drops the probing for those CPUs, relying on information from
dt instead. Future platforms should describe their PMU(s) with dt.

Suggested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_cpu.c