FROMLIST: drivers/perf: arm-pmu: Handle per-interrupt affinity mask
authorMarc Zyngier <Marc.Zyngier@arm.com>
Wed, 6 Jul 2016 14:33:47 +0000 (15:33 +0100)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 27 Jul 2016 12:54:48 +0000 (20:54 +0800)
commite85a330488b3eb4b7c7f1c86d156cb8eea3b569e
tree216408d5269fe5397bd3422de95e3277672829e5
parent220f85975aa68fd851c8839d2295e9a9beb0878c
FROMLIST: 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.

Change-Id: I4a48e116cfa84d74985f44ed30d6e664ce3cfa5f
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
(am from https://patchwork.kernel.org/patch/9216445/)
Documentation/devicetree/bindings/arm/pmu.txt
drivers/perf/arm_pmu.c