diff options
author | Will Deacon <will.deacon@arm.com> | 2012-07-28 18:42:22 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2012-08-23 12:35:52 +0200 |
commit | 04236f9fe07462849215c67cae6147661368bfad (patch) | |
tree | fef6161a18a418db56cb3acb6cae263c3af1f436 /arch/arm/mach-orion5x | |
parent | ARM: perf: remove mysterious compiler barrier (diff) | |
download | linux-04236f9fe07462849215c67cae6147661368bfad.tar.xz linux-04236f9fe07462849215c67cae6147661368bfad.zip |
ARM: perf: probe devicetree in preference to current CPU
The CPU PMU is probed using the current cpuid information as part of the
early_initcall initialising the architecture perf backend. For
architectures without NMI (such as ARM), this does not need to be
performed early and can be deferred to the driver probe callback. This
also allows us to probe the devicetree in preference to parsing the
current cpuid, which may be invalid on a big.LITTLE multi-cluster
system.
This patch defers the PMU probing and uses the devicetree information
when available.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mach-orion5x')
0 files changed, 0 insertions, 0 deletions