[Cbe-oss-dev] [RFC/PATCH] adding support for direct MBX interrupt on Axon based platform.

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun May 20 18:20:35 EST 2007


On Sun, 2007-05-20 at 09:41 +0200, Jean-Christophe Dubois wrote:
> For now I have to do without OF tree for the direct MBX. I'll talk to IBM to 
> check if they would add it. 
> 
> However, theoretically this interrupt should really be attached to the mailbox 
> node. But the mailbox node already has #interrupt-cells and interrupts 
> properties pointing to the MPIC somehow ... What is the theory to have the 
> same device handled by 2 distinct "interrupt controllers" (MPIC and IIC)? 

It's a not-completely solved issue... it can be dealt with by
interposing an interrupt nexus (interrupt-map) at some level.

In the meantime, then, keep a simple quirk just for changing the class
in Axon and build up an iic interrupt number the way I explained.

That is for a CAB board with Axon on IOIF 0 and only one node, it should
be something like 0x10. You can then map that off the iic (which is the
default PIC afaik on cell).

Ben





More information about the cbe-oss-dev mailing list