Skip to content
  • Will Deacon's avatar
    ARM: perf: probe devicetree in preference to current CPU · 04236f9f
    Will Deacon authored
    
    
    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: default avatarWill Deacon <will.deacon@arm.com>
    04236f9f