Skip to content
Commit 0811ef7e authored by Mark Rutland's avatar Mark Rutland Committed by Pawel Moll
Browse files

bus: arm-ccn: fix PMU interrupt flags



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: default avatarMark Rutland <mark.rutland@arm.com>
Acked-by: default avatarPawel Moll <pawel.moll@arm.com>
Reviewed-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
parent 3249bce4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment