[PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask
Will Deacon
will.deacon at arm.com
Wed Jul 6 09:05:25 PDT 2016
On Wed, Jul 06, 2016 at 03:33:47PM +0100, Marc Zyngier wrote:
> 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.
>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
> ---
> * From v1:
> - propagate the error if irq_get_percpu_devid_partition fails
Thanks, I'll queue this.
Will
More information about the Linux-rockchip
mailing list