Commit b273ed26 authored by Edson Seabra's avatar Edson Seabra Committed by Paul Mackerras

[PATCH] powerpc: CPM2 interrupt handler failure after 100,000 interrupts

The CPM2 interrupt handler does not return success to the IRQ subsystem, which
causes it to kill the IRQ line after 100,000 interrupts.
Signed-off-by: default avatarEdson Seabra <Edson.Seabra@cyclades.com>
Signed-off-by: default avatarMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3eb6f26b
...@@ -130,10 +130,11 @@ mpc85xx_cds_show_cpuinfo(struct seq_file *m) ...@@ -130,10 +130,11 @@ mpc85xx_cds_show_cpuinfo(struct seq_file *m)
} }
#ifdef CONFIG_CPM2 #ifdef CONFIG_CPM2
static void cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs) static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
{ {
while((irq = cpm2_get_irq(regs)) >= 0) while((irq = cpm2_get_irq(regs)) >= 0)
__do_IRQ(irq, regs); __do_IRQ(irq, regs);
return IRQ_HANDLED;
} }
static struct irqaction cpm2_irqaction = { static struct irqaction cpm2_irqaction = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment