lkml.org 
[lkml]   [2006]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] 2.6.18-rt7: PowerPC: fix breakage in threaded fasteoi type IRQ handlers

* Ingo Molnar <mingo@elte.hu> wrote:

> > Hmm, that just won't do for PPC threaded fasteoi flows! What you'll
> > get is a threaded IRQ with EOI *never ever* issued, unless my PPC
> > patch is also in...
>
> ok, how about the patch below in addition?

or rather, the one below. Untested.

Ingo

Index: linux/kernel/irq/chip.c
===================================================================
--- linux.orig/kernel/irq/chip.c
+++ linux/kernel/irq/chip.c
@@ -392,11 +394,12 @@ handle_fasteoi_irq(unsigned int irq, str
desc->status |= IRQ_INPROGRESS;

/*
- * In the threaded case we fall back to a mask+ack sequence:
+ * In the threaded case we fall back to a mask+eoi sequence:
*/
if (redirect_hardirq(desc)) {
- mask_ack_irq(desc, irq);
- goto out_unlock;
+ if (desc->chip->mask)
+ desc->chip->mask(irq);
+ goto out;
}

desc->status &= ~IRQ_PENDING;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-11-20 20:15    [W:0.093 / U:1.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site