]> git.baikalelectronics.ru Git - kernel.git/commit
m68k/irq - Use polled IRQ flag for MFP timer cascaded interrupts
authorMichael Schmitz <schmitzmic@gmail.com>
Sat, 11 Jan 2014 00:58:55 +0000 (13:58 +1300)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Jan 2014 08:29:10 +0000 (09:29 +0100)
commitdd1c49e6039f7eea30b7d503f88248a5088a1ca3
tree864e1c4e5650f8d87748281d5ed273ae8f285c61
parent7be5e0d99a8b8c26af45501a501a9df0c7928990
m68k/irq - Use polled IRQ flag for MFP timer cascaded interrupts

Some Atari hardware has no capacity to raise interrupts (e.g.
network or USB adapter hardware attached via ROM port). The driver
interrupt routine is called from a timer interrupt (timer D) in
these cases, using chained device specific pseudo interrupts
(IRQ_MFP_TIMER1 ff.)

These interrupts will more often than not, return IRQ_NONE as
there is not always work for the device handler when called.
Too many unhandled interrupts will result in the interrupt
being disabled by the stuck interrupt watchdog.

As preferred option to flag interrupts as needing exclusion
from the watchdog mechanism, tglx added the IRQ_IS_POLLED flag
for use in such a case. Currently, two interrupts need to use
this flag. Add more users as needed.

Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/atari/ataints.c