Re: [PATCH -rt] powerpc update

From: Ingo Molnar
Date: Wed Oct 18 2006 - 03:37:07 EST



* Daniel Walker <dwalker@xxxxxxxxxx> wrote:

> Pay close attention to the fasteoi interrupt threading. I added usage
> of mask/unmask instead of using level handling, which worked well on
> PPC.

this is wrong - it should be doing mask+ack.

also note that you changed:

> - goto out_unlock;

to:

> + goto out;

and you even tried to hide your tracks:

> out:
> desc->chip->eoi(irq);
> -out_unlock:
> spin_unlock(&desc->lock);

:-)

really, the ->eoi() op should only be called for true fasteoi cases.
What we want here is to turn the fasteoi handler into a handler that
does mask+ack and then unmask. Not 'mask+eoi ... unmask' as your patch
does.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/