android_kernel_samsung_msm8976/kernel/irq
Thomas Gleixner dcc2305a48 genirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD
commit 75a06189fc508a2acf470b0b12710362ffb2c4b1 upstream.

The resend mechanism happily calls the interrupt handler of interrupts
which are marked IRQ_NESTED_THREAD from softirq context. This can
result in crashes because the interrupt handler is not the proper way
to invoke the device handlers. They must be invoked via
handle_nested_irq.

Prevent the resend even if the interrupt has no valid parent irq
set. Its better to have a lost interrupt than a crashing machine.

Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-10 12:20:30 -07:00
..
autoprobe.c
chip.c x86/MSI: Support multiple MSIs in presense of IRQ remapping 2013-01-24 17:25:12 +01:00
debug.h
devres.c
dummychip.c
generic-chip.c
handle.c
internals.h
irqdesc.c genirq: Add missing irq_to_desc export for CONFIG_SPARSE_IRQ=n 2014-02-22 12:41:29 -08:00
irqdomain.c irqdomain: document the simple domain first_irq 2013-06-08 21:15:09 +01:00
Kconfig
Makefile
manage.c genirq: Sanitize spurious interrupt detection of threaded irqs 2014-06-30 20:09:45 -07:00
migration.c
pm.c irq: Enable all irqs unconditionally in irq_resume 2013-12-11 22:36:27 -08:00
proc.c proc: Supply a function to remove a proc entry by PDE 2013-05-01 17:29:46 -04:00
resend.c genirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD 2015-08-10 12:20:30 -07:00
settings.h
spurious.c genirq: Sanitize spurious interrupt detection of threaded irqs 2014-06-30 20:09:45 -07:00