Re: [PATCH 1/2] powerpc/mpic: allow coreint to be determined by MPIC version
From: Scott Wood <hidden>
Date: 2013-01-23 17:28:44
From: Scott Wood <hidden>
Date: 2013-01-23 17:28:44
On 01/23/2013 11:23:51 AM, Kumar Gala wrote:
=20 On Jan 21, 2013, at 7:56 PM, Scott Wood wrote: =20quoted
This will be used by the qemu-e500 platform, as the MPIC version =20(andquoted
thus whether we have coreint) depends on how QEMU is configured. Signed-off-by: Scott Wood <redacted> --- arch/powerpc/sysdev/mpic.c | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-)=20 Is the idea that we'd set mpic->flags such that MPIC_ENABLE_COREINT =20 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 =20 (see patch 2/2). -Scott=