diff options
author | Mark Rutland | 2016-08-11 10:50:41 +0100 |
---|---|---|
committer | Pawel Moll | 2016-08-26 09:16:07 +0100 |
commit | 0811ef7e2f5470833a353426a6fbe0b845aea926 (patch) | |
tree | ea99c07b63fbc4606adc8e2a060c2318e6c7102f /drivers/acpi/device_sysfs.c | |
parent | 3249bce459ff0bb7c1621b00a8e2d6afe24c53bb (diff) |
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: Mark Rutland <mark.rutland@arm.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'drivers/acpi/device_sysfs.c')
0 files changed, 0 insertions, 0 deletions