[PATCH 1/2] powerpc/mpic: allow coreint to be determined by MPIC version

Scott Wood scottwood at freescale.com
Thu Jan 24 04:28:33 EST 2013


On 01/23/2013 11:23:51 AM, Kumar Gala wrote:
> 
> On Jan 21, 2013, at 7:56 PM, Scott Wood wrote:
> 
> > This will be used by the qemu-e500 platform, as the MPIC version  
> (and
> > thus whether we have coreint) depends on how QEMU is configured.
> >
> > Signed-off-by: Scott Wood <scottwood at freescale.com>
> > ---
> > arch/powerpc/sysdev/mpic.c |   26 +++++++++++++++++++++++---
> > 1 file changed, 23 insertions(+), 3 deletions(-)
> 
> Is the idea that we'd set mpic->flags such that MPIC_ENABLE_COREINT  
> was set, but based on the controller version we'd ignore the flag?

Yes, at least for platforms like qemu-e500 where both are posssible  
(see patch 2/2).

-Scott


More information about the Linuxppc-dev mailing list