diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-16 14:10:17 +0200 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-08-10 09:54:22 +0100 |
commit | 605cb392a3d2016cb2497e937acd7616ef2b9eb6 (patch) | |
tree | 8278f0226d7bf49ed5c42456df83537c1aae5c3e /arch | |
parent | fd6139cf4a55d889063c3894938bf672511c6ef5 (diff) | |
download | linux-stable-605cb392a3d2016cb2497e937acd7616ef2b9eb6.tar.gz linux-stable-605cb392a3d2016cb2497e937acd7616ef2b9eb6.tar.bz2 linux-stable-605cb392a3d2016cb2497e937acd7616ef2b9eb6.zip |
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: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions