Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rJhHK1s2hzDqZ3 for ; Tue, 31 May 2016 15:04:29 +1000 (AEST) Message-ID: <1464671068.32478.13.camel@ellerman.id.au> Subject: Re: [PATCH 1/5] powerpc/pseries: Drop support for MPIC in pseries From: Michael Ellerman To: Rashmica , Benjamin Herrenschmidt , paulus@samba.org, nfont@linux.vnet.ibm.com Cc: linuxppc-dev@lists.ozlabs.org Date: Tue, 31 May 2016 15:04:28 +1000 In-Reply-To: <574CFB67.7000605@gmail.com> References: <1464589095-442-1-git-send-email-rashmicy@gmail.com> <1464593541.3078.192.camel@kernel.crashing.org> <574CEA20.5070809@gmail.com> <574CFB67.7000605@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2016-05-31 at 12:48 +1000, Rashmica wrote: > On 31/05/16 11:34, Rashmica wrote: > > On 30/05/16 17:32, Benjamin Herrenschmidt wrote: > > > On Mon, 2016-05-30 at 16:18 +1000, Rashmica Gupta wrote: > > > > 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... > > > > > 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? > > > > 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. > > Oliver just informed me that it is only replacing XICS for p9. Should I > leave this for the person adding in the XIVE code? I haven't heard of this "XIVE" thing but anyway .. I would hope we can come up with a better abstraction than this for XICS/XIVE, so I'm inclined to merge this anyway. Worst case we end up putting some of it back. cheers