From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rJdG73YlFzDqXy for ; Tue, 31 May 2016 12:48:15 +1000 (AEST) Received: by mail-pf0-x242.google.com with SMTP id 62so11552039pfd.3 for ; Mon, 30 May 2016 19:48:15 -0700 (PDT) Subject: Re: [PATCH 1/5] powerpc/pseries: Drop support for MPIC in pseries To: Benjamin Herrenschmidt , mpe@ellerman.id.au, paulus@samba.org, nfont@linux.vnet.ibm.com References: <1464589095-442-1-git-send-email-rashmicy@gmail.com> <1464593541.3078.192.camel@kernel.crashing.org> <574CEA20.5070809@gmail.com> Cc: linuxppc-dev@lists.ozlabs.org From: Rashmica Message-ID: <574CFB67.7000605@gmail.com> Date: Tue, 31 May 2016 12:48:07 +1000 MIME-Version: 1.0 In-Reply-To: <574CEA20.5070809@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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... >> >> 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? > > 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?