irq-bcm2836: Prevent spurious interrupts, and trap them early
authorPhil Elwell <phil@raspberrypi.org>
Fri, 4 Dec 2015 17:41:50 +0000 (17:41 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:51 +0000 (00:07 +0100)
commit1b58c8cdb6d9ce5e9090f9894ee449503f5fc4d8
tree4f7c01387d765c6f3719339b3e75947a0cdf160e
parent2a63ec227a8445d38985600ed9deec72626b3a9d
irq-bcm2836: Prevent spurious interrupts, and trap them early

The old arch-specific IRQ macros included a dsb to ensure the
write to clear the mailbox interrupt completed before returning
from the interrupt. The BCM2836 irqchip driver needs the same
precaution to avoid spurious interrupts.

Spurious interrupts are still possible for other reasons,
though, so trap them early.
drivers/irqchip/irq-bcm2836.c