diff options
author | David Woodhouse <dwmw2@infradead.org> | 2015-10-28 16:14:31 +0900 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-10-30 10:13:26 +0100 |
commit | d9e4ad5badf4ccbfddee208c898fb8fd0c8836b1 (patch) | |
tree | d3e50f3afbdb57b8c3eb84d03188cd357c1bec14 /arch/powerpc/platforms/cell/spider-pic.c | |
parent | 3b93baf56dafa2d27e4fc227990dcd3ffeb10510 (diff) |
Document that IRQ_NONE should be returned when IRQ not actually handled
Our IRQ storm detection works when an interrupt handler returns
IRQ_NONE for thousands of consecutive interrupts in a second. It
doesn't hurt to occasionally return IRQ_NONE when the interrupt is
actually genuine.
Drivers should only be returning IRQ_HANDLED if they have actually
*done* something to stop an interrupt from happening — it doesn't just
mean "this really *was* my device".
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: davem@davemloft.net
Link: http://lkml.kernel.org/r/1446016471.3405.201.camel@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/powerpc/platforms/cell/spider-pic.c')
0 files changed, 0 insertions, 0 deletions