]> git.baikalelectronics.ru Git - kernel.git/commit
arm: perf: Set affinity for PPI based PMUs
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 29 Jun 2015 21:58:46 +0000 (22:58 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 31 Jul 2015 14:01:14 +0000 (15:01 +0100)
commitd5d9ce6516ed545b6241ddeef674f25d008450d0
tree048ff49d92f0265483ce7c34ca229e88e48a5d2d
parent03939c074f20072e9614d93e1731f35df6bbf658
arm: perf: Set affinity for PPI based PMUs

For PPI based PMUs, we bail out early in of_pmu_irq_cfg() without
setting the PMU's supported_cpus bitmap. This causes the
smp_call_function_any() in armv7_probe_num_events() to fail. Set
the bitmap to be all CPUs so that we properly probe PMUs that use
PPIs.

Fixes: e6f25ffaf1d3 ("arm: perf: treat PMUs as CPU affine")
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c