]> git.karo-electronics.de Git - karo-tx-linux.git/commit
genirq: Prevent irq storm on migration
authorThomas Gleixner <tglx@linutronix.de>
Fri, 28 Jan 2011 07:47:15 +0000 (08:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:19 +0000 (15:14 -0800)
commit212075b89babe1575a770e1b2bf958cf0dcf5bd2
tree3162814e960f3b9a98c4bf798901898f5ecd8521
parent42833e7fabbd2ee7b5c8d4ec34d17cf7fc2271a5
genirq: Prevent irq storm on migration

commit f1a06390d013244e721372b3f9b66e39b6429c71 upstream.

move_native_irq() masks and unmasks the interrupt line
unconditionally, but the interrupt line might be masked due to a
threaded oneshot handler in progress. Unmasking the line in that case
can lead to interrupt storms. Observed on PREEMPT_RT.

Originally-from: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/irq/migration.c