[PATCH 1/2] arm-ccn: ensure perf synchronisation

Pawel Moll pawel.moll at arm.com
Mon Jul 4 06:39:44 PDT 2016


Dnia 2016-06-28, Tue o godzinie 18:50 +0100, Mark Rutland pisze:
> Currently the IRQ core is permitted to make the CCN PMU IRQ handler
> threaded, and will allow userspace to change the CPU affinity of the
> interrupt behind our back. Both of these could violate our
> synchronisation requirements with the core perf code, which relies upon
> strict CPU affinity and disabling of interrupts to guarantee mutual
> exclusion in some cases.
> 
> As with the CPU PMU drivers, we should request the interrupt with
> IRQF_NOBALANCING and IRQF_NO_THREAD, to avoid these issues.

> Signed-off-by: Mark Rutland <mark.rutland at arm.com>

Acked-by: Pawel Moll <pawel.moll at arm.com>

In principle, because still had no chance to test it...

Thanks!

Pawel



More information about the linux-arm-kernel mailing list