[Cbe-oss-dev] [PATCH 3/3] spufs context switch - fix interrupt routing

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Apr 24 21:54:53 EST 2008


On Thu, 2008-04-24 at 08:49 -0300, Luke Browning wrote:
> 
> yup.  dar and dsisr.  

Ouch. I'll have to give that a closer look.

> Simple fix is to just have dedicated fields for each class.

Probably. They come from different HW regs ? I suppose I should just
have a look but it's a bit late right now :-)

> Do you think it is worth it to have both Jeremy's fix in the interrupt
> handler and my fix that re-routes interrupts in the heart of the
> context switch code when the mfc is quiescent.  The latter fix may not
> be strictly necessary, but it is a saner approach and it should
> minimize if not eliminate the occurrence of back to back interrupts
> being delivered to different cpus.  After all, we are only seeing
> these failures when context switching.   

I agree, it's saner to do the re-routing when idle.

Cheers,
Ben.





More information about the cbe-oss-dev mailing list