[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM3PR04MB11856C2FE266ABB99F3A99E0913A0@AM3PR04MB1185.eurprd04.prod.outlook.com>
Date: Wed, 6 Jul 2016 01:18:19 +0000
From: Qiang Zhao <qiang.zhao@....com>
To: Jason Cooper <jason@...edaemon.net>
CC: "oss@...error.net" <oss@...error.net>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"marc.zyngier@....com" <marc.zyngier@....com>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Xiaobo Xie <xiaobo.xie@....com>
Subject: RE: [PATCH 1/2] qe/ic: move qe_ic_init from platforms to irqchip
On 07/05/2016 11:19 AM, Jason Cooper <jason@...edaemon.net> wrote:
> -----Original Message-----
> From: Jason Cooper [mailto:jason@...edaemon.net]
> Sent: Tuesday, July 05, 2016 10:22 PM
> To: Qiang Zhao <qiang.zhao@....com>
> Cc: oss@...error.net; tglx@...utronix.de; marc.zyngier@....com; linuxppc-
> dev@...ts.ozlabs.org; linux-kernel@...r.kernel.org; Xiaobo Xie
> <xiaobo.xie@....com>
> Subject: Re: [PATCH 1/2] qe/ic: move qe_ic_init from platforms to irqchip
>
> On Tue, Jul 05, 2016 at 07:27:21AM +0000, Qiang Zhao wrote:
> > On 07/05/2016 11:19 AM, Jason Cooper <jason@...edaemon.net> wrote:
> > > -----Original Message-----
> > > From: Jason Cooper [mailto:jason@...edaemon.net]
> > > Sent: Tuesday, July 05, 2016 11:19 AM
> > > To: Qiang Zhao <qiang.zhao@....com>
> > > Cc: oss@...error.net; tglx@...utronix.de; marc.zyngier@....com;
> > > linuxppc- dev@...ts.ozlabs.org; linux-kernel@...r.kernel.org; Xiaobo
> > > Xie <xiaobo.xie@....com>
> > > Subject: Re: [PATCH 1/2] qe/ic: move qe_ic_init from platforms to
> > > > diff --git a/arch/powerpc/platforms/83xx/misc.c
> > > > b/arch/powerpc/platforms/83xx/misc.c
> > > > index 7e923ca..9431fc7 100644
> > > > --- a/arch/powerpc/platforms/83xx/misc.c
> > > > +++ b/arch/powerpc/platforms/83xx/misc.c
> > > > @@ -93,24 +93,9 @@ void __init mpc83xx_ipic_init_IRQ(void) }
> > > >
> > > > #ifdef CONFIG_QUICC_ENGINE
> > > > -void __init mpc83xx_qe_init_IRQ(void) -{
> > > > - struct device_node *np;
> > > > -
> > > > - np = of_find_compatible_node(NULL, NULL, "fsl,qe-ic");
> > > > - if (!np) {
> > > > - np = of_find_node_by_type(NULL, "qeic");
> > > > - if (!np)
> > > > - return;
> > > > - }
> > >
> > > This block isn't preserved in the irqchip driver. Why not?
> >
> > I grep qeic in arch/powerpc/boot/dts/*, doesn't find which board use qeic as
> type.
>
> Unfortunately, checking powerpc/boot/dts/* isn't sufficient for confirming we
> aren't going to break backwards compatibility with boards *in the field*.
>
> Please take a look at:
>
> d4fb5ebd83c70 powerpc/83xx: consolidate init_IRQ functions
> 8159df72d43e2 83xx: add support for the kmeter1 board.
>
> Perhaps one or two of the authors is still around and can say why that check is
> there and if it's ok to remove it.
>
> Or, we could just play it safe and keep the check.
>
Ok, I will add this check in next version.
Thanks
-Zhao Qiang
Powered by blists - more mailing lists