Re: [PATCH v2] [POWERPC] pasemi: Implement MSI support

2007-12-12 Thread Michael Ellerman
On Thu, 2007-12-13 at 09:51 +1100, Michael Ellerman wrote: > On Wed, 2007-12-12 at 01:23 -0600, Olof Johansson wrote: > > Patch looks good otherwise. By which I mean: Acked-by: Michael Ellerman <[EMAIL PROTECTED]> This patch is double-plus-good! cheers -- Michael Ellerman OzLabs, IBM Austral

Re: [PATCH v2] [POWERPC] pasemi: Implement MSI support

2007-12-12 Thread Michael Ellerman
On Wed, 2007-12-12 at 01:23 -0600, Olof Johansson wrote: > On Wed, Dec 12, 2007 at 05:49:39PM +1100, Michael Ellerman wrote: > > Before the ugliness spreads .. I'm pretty sure we can get this from the > > chip_data of the virq - I haven't fixed it though because I wasn't sure > > if using chip_data

Re: [PATCH v2] [POWERPC] pasemi: Implement MSI support

2007-12-11 Thread Olof Johansson
On Wed, Dec 12, 2007 at 05:49:39PM +1100, Michael Ellerman wrote: > Before the ugliness spreads .. I'm pretty sure we can get this from the > chip_data of the virq - I haven't fixed it though because I wasn't sure > if using chip_data was kosher or not. Hmm, maybe. I can forsee MSI and legacy int

Re: [PATCH v2] [POWERPC] pasemi: Implement MSI support

2007-12-11 Thread Michael Ellerman
On Wed, 2007-12-12 at 00:44 -0600, Olof Johansson wrote: > [POWERPC] pasemi: Implement MSI support > > Implement MSI support for PA Semi PWRficient platforms. MSI is done > through a special range of sources on the openpic controller, and they're > unfortunately breaking the usual concepts of how

[PATCH v2] [POWERPC] pasemi: Implement MSI support

2007-12-11 Thread Olof Johansson
[POWERPC] pasemi: Implement MSI support Implement MSI support for PA Semi PWRficient platforms. MSI is done through a special range of sources on the openpic controller, and they're unfortunately breaking the usual concepts of how sources are programmed: * The source is calculated as 512 + the va