Re: [PATCH] arm: perf: Set affinity for PPI based PMUs

2015-06-30 Thread Stephen Boyd
On 06/30/2015 01:52 AM, Will Deacon wrote: > Looks good to me as a fix, but I'm currently working on extending the > interrupt-affinity property to work with both SPIs and PPIs so that we > can use it to identify PMU affinity on multi-cluster systems. > > > https://git.kernel.org/cgit/linux/kern

Re: [PATCH] arm: perf: Set affinity for PPI based PMUs

2015-06-30 Thread Will Deacon
Hi Stephen, On Mon, Jun 29, 2015 at 10:58:46PM +0100, Stephen Boyd wrote: > 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

[PATCH] arm: perf: Set affinity for PPI based PMUs

2015-06-29 Thread Stephen Boyd
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: cc88116da0d1 ("arm: perf: treat