[PATCH v2] powerpc: Add support for CoreInt delivery of interrupts on MPIC

Kumar Gala galak at kernel.crashing.org
Fri Mar 20 22:47:31 EST 2009


On Mar 20, 2009, at 12:48 AM, Benjamin Herrenschmidt wrote:

> On Wed, 2009-03-11 at 10:18 -0500, Kumar Gala wrote:
>> CoreInt provides a mechansim to deliver the IRQ vector directly
>> into the core on an interrupt (via the SPR EPR) rather than having
>> to go IACK on the PIC.  This is suppose to provide an improvment
>> in interrupt latency by reducing the time to get the IRQ vector.
>>
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>> ---
>> * Fixed MPIC_GREG_GCONF_COREINT flag to be 0x60000000 as per spec  
>> and pointed about by Dave
>
> Are you sure ? That's 2 bits ...

Yeah.  We expanded the mode field to two bits (mask would be 0x60000000)

0x00 = pass through (interrupts routed to IRQ0)
0x01 = Mixed mode
0x10 = reserved
0x11 = External proxy / coreint

- k



More information about the Linuxppc-dev mailing list