Skip to content
Commit 52553ddf authored by Edward Donovan's avatar Edward Donovan Committed by Linus Torvalds
Browse files

genirq: fix regression in irqfixup, irqpoll



Commit fa27271b("genirq: Fixup poll handling") introduced a
regression that broke irqfixup/irqpoll for some hardware configurations.

Amidst reorganizing 'try_one_irq', that patch removed a test that
checked for 'action->handler' returning IRQ_HANDLED, before acting on
the interrupt.  Restoring this test back returns the functionality lost
since 2.6.39.  In the current set of tests, after 'action' is set, it
must precede '!action->next' to take effect.

With this and my previous patch to irq/spurious.c, c75d720f, all
IRQ regressions that I have encountered are fixed.

Signed-off-by: default avatarEdward Donovan <edward.donovan@numble.net>
Reported-and-tested-by: default avatarRogério Brito <rbrito@ime.usp.br>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@kernel.org (2.6.39+)
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 401d0069
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment