drivers/perf: arm-pmu: Handle per-interrupt affinity mask
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 8 Jul 2016 14:56:04 +0000 (15:56 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 8 Jul 2016 16:39:55 +0000 (17:39 +0100)
commit19a469a58720ea96b649b06fb09ddfd3e831aa69
treeaa50f6bce42d8e4ed1aaf29b6c0025192b71f695
parent90f777beb788d08300f4a1482cb4fd37a401b472
drivers/perf: arm-pmu: Handle per-interrupt affinity mask

On a big-little system, PMUs can be wired to CPUs using per CPU
interrups (PPI). In this case, it is important to make sure that
the enable/disable do happen on the right set of CPUs.

So instead of relying on the interrupt-affinity property, we can
use the actual percpu affinity that DT exposes as part of the
interrupt specifier. The DT binding is also updated to reflect
the fact that the interrupt-affinity property shouldn't be used
in that case.

Acked-by: Rob Herring <robh@kernel.org>
Tested-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/devicetree/bindings/arm/pmu.txt
drivers/perf/arm_pmu.c