android_kernel_xiaomi_sm8350/arch
Eric W. Biederman d3696cf737 [PATCH] x86_64 irq: Scream but don't die if we receive an unexpected irq
Due to code bugs or misbehaving hardware it is possible that we can
receive an interrupt that we have not mapped into a linux irq.  Calling
BUG when that happens is very rude, and if the problem is mild enough
prevents anything else from getting done.

So instead of calling BUG just scream loudly about the problem and
continue running.  We don't have enough knowledge to know which
interrupt triggered this behavior so we don't acknowledge it.  This will
likely prevent a recurrence of the problem by jamming up the works with
an unacknowledged interrupt.

If the interrupt was something important it is quite possible that
nothing productive will happen past this point.  But it is now at least
possible to keep working if the kernel can survive without the interrupt
we dropped on the floor.

Solutions like irqpoll should generally make dropped irqs non-fatal.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-09 14:51:43 -07:00
..
alpha [PATCH] fallout from alpha pt_regs patches 2006-10-09 14:19:07 -07:00
arm IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
arm26 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
avr32 [PATCH] AVR32: Allow renumbering of serial devices 2006-10-04 10:25:06 -07:00
cris more misc typo fixes 2006-10-03 22:34:14 +02:00
frv IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
h8300 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
i386 Merge branch 'irqclean-submit1' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 2006-10-09 14:21:45 -07:00
ia64 Merge git://git.infradead.org/~dhowells/irq-2.6 2006-10-09 14:29:26 -07:00
m32r [PATCH] m32r pt_regs fixes 2006-10-07 10:51:15 -07:00
m68k IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
m68knommu Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mips IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
parisc [PARISC] More pt_regs removal 2006-10-07 06:01:11 -06:00
powerpc Merge git://git.infradead.org/~dhowells/irq-2.6 2006-10-09 14:29:26 -07:00
ppc [PATCH] mv64630_pic NULL noise removal 2006-10-09 14:19:08 -07:00
s390 [PATCH] s390 traps.c __user annotations 2006-10-09 14:19:08 -07:00
sh fix file specification in comments 2006-10-03 23:01:26 +02:00
sh64 fix file specification in comments 2006-10-03 23:01:26 +02:00
sparc IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
sparc64 [PATCH] sparc64 irq pt_regs fallout 2006-10-09 14:19:07 -07:00
um IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
v850 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
x86_64 [PATCH] x86_64 irq: Scream but don't die if we receive an unexpected irq 2006-10-09 14:51:43 -07:00
xtensa fix file specification in comments 2006-10-03 23:01:26 +02:00