]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3807a060dfe91cc297bdef8763edceadad5c08f2
treeaa50f6bce42d8e4ed1aaf29b6c0025192b71f695
parent018f661d876cc1881ce61a32540f070fc9796480
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