]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: OMAP2+: INTC: Acknowledge stuck active interrupts
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Thu, 6 Mar 2014 15:27:15 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 May 2014 14:51:40 +0000 (07:51 -0700)
commit05b81311eb29058600b458393cf577b4d40a0b14
tree4d84fa66a4644abe5421b6314d59d816437d41fa
parent62f29567f2e87357413ec534d7ecde5763e83239
ARM: OMAP2+: INTC: Acknowledge stuck active interrupts

commit 698b48532539484b012fb7c4176b959d32a17d00 upstream.

When an interrupt has become active on the INTC it will stay active
until it is acked, even if masked or de-asserted. The
INTC_PENDING_IRQn registers are however updated and since these are
used by omap_intc_handle_irq to determine which interrupt to handle,
it will never see the active interrupt. This will result in a storm of
useless interrupts that is only stopped when another higher priority
interrupt is asserted.

Fix by sending the INTC an acknowledge if we find no interrupts to
handle.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/irq.c