Thread (13 messages) 13 messages, 3 authors, 2016-06-15

Re: [PATCH 1/5] powerpc/pseries: Drop support for MPIC in pseries

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2016-05-31 03:01:14

On Tue, 2016-05-31 at 11:34 +1000, Rashmica wrote:
On 30/05/16 17:32, Benjamin Herrenschmidt wrote:
quoted
On Mon, 2016-05-30 at 16:18 +1000, Rashmica Gupta wrote:
quoted
MPIC was only used by Power3 which is now unsupported, so drop support
for MPIC. XICS is now the only supported interrupt controller for
pSeries so make the XICS functions generic.
The second half I'm not sure ... XIVE is around the corner...

Cheers,
Ben.
I thought XIVE was replacing XICS? And so then we can just simply 
replace all the specific XICS code such as xics_init() and 
xics_smp_probe() with the relevant XIVE functions?
We still need to boot on P8 that doesn't have XIVE, so we need to
support both. IE, the same way we had to chose at runtime between MPIC
and XICS, we'll now have to chose between XICS and XIVE.
By "make the XICS functions generic" I meant that if there is only one 
interrupt controller for pseries then we don't need to have both static 
void __init pseries_xics_init_IRQ(void) and static void __init 
pSeries_init_IRQ(void), etc.
There will be two.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help