Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705143 > unrolled thread

Re: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC

Started byMichael Ellerman <mpe@ellerman.id.au>
First post2017-08-07 09:10 +0200
Last post2017-08-09 04:40 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC Michael Ellerman <mpe@ellerman.id.au> - 2017-08-07 09:10 +0200
    RE: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC Qiang Zhao <qiang.zhao@nxp.com> - 2017-08-08 08:30 +0200
      RE: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC Michael Ellerman <mpe@ellerman.id.au> - 2017-08-08 12:10 +0200
        RE: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC Qiang Zhao <qiang.zhao@nxp.com> - 2017-08-09 04:40 +0200

#1705143 — Re: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC

FromMichael Ellerman <mpe@ellerman.id.au>
Date2017-08-07 09:10 +0200
SubjectRe: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC
Message-ID<ubKkO-56m-29@gated-at.bofh.it>
Zhao Qiang <qiang.zhao@nxp.com> writes:

> QEIC was supported on PowerPC, and dependent on PPC,
> Now it is supported on other platforms, so remove PPCisms.
>
> Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
> ---
>  arch/powerpc/platforms/83xx/km83xx.c          |   1 -
>  arch/powerpc/platforms/83xx/misc.c            |   1 -
>  arch/powerpc/platforms/83xx/mpc832x_mds.c     |   1 -
>  arch/powerpc/platforms/83xx/mpc832x_rdb.c     |   1 -
>  arch/powerpc/platforms/83xx/mpc836x_mds.c     |   1 -
>  arch/powerpc/platforms/83xx/mpc836x_rdk.c     |   1 -
>  arch/powerpc/platforms/85xx/corenet_generic.c |   1 -
>  arch/powerpc/platforms/85xx/mpc85xx_mds.c     |   1 -
>  arch/powerpc/platforms/85xx/mpc85xx_rdb.c     |   1 -
>  arch/powerpc/platforms/85xx/twr_p102x.c       |   1 -
>  drivers/irqchip/irq-qeic.c                    | 188 +++++++++++---------------
>  include/soc/fsl/qe/qe_ic.h                    | 132 ------------------
>  12 files changed, 80 insertions(+), 250 deletions(-)
>  delete mode 100644 include/soc/fsl/qe/qe_ic.h
>
> diff --git a/arch/powerpc/platforms/83xx/km83xx.c b/arch/powerpc/platforms/83xx/km83xx.c
> index d8642a4..b1cef0a 100644
> --- a/arch/powerpc/platforms/83xx/km83xx.c
> +++ b/arch/powerpc/platforms/83xx/km83xx.c
> @@ -38,7 +38,6 @@
>  #include <sysdev/fsl_soc.h>
>  #include <sysdev/fsl_pci.h>
>  #include <soc/fsl/qe/qe.h>
> -#include <soc/fsl/qe/qe_ic.h>

You deleted that file in patch 2. So didn't you just break the build for
the last two commits?

cheers

[toc] | [next] | [standalone]


#1706058

FromQiang Zhao <qiang.zhao@nxp.com>
Date2017-08-08 08:30 +0200
Message-ID<uc6bD-3VW-1@gated-at.bofh.it>
In reply to#1705143
On Mon 8/7/2017 3:02 PM, Michael Ellerman <mpe@ellerman.id.au> wrote:

> -----Original Message-----
> From: Michael Ellerman [mailto:mpe@ellerman.id.au]
> Sent: Monday, August 07, 2017 3:02 PM
> To: Qiang Zhao <qiang.zhao@nxp.com>; tglx@linutronix.de
> Cc: oss@buserror.net; Qiang Zhao <qiang.zhao@nxp.com>; linuxppc-
> dev@lists.ozlabs.org; Xiaobo Xie <xiaobo.xie@nxp.com>; linux-
> kernel@vger.kernel.org
> Subject: Re: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC
> 
> Zhao Qiang <qiang.zhao@nxp.com> writes:
> 
> > QEIC was supported on PowerPC, and dependent on PPC, Now it is
> > supported on other platforms, so remove PPCisms.
> >
> > Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
> > ---
> >  arch/powerpc/platforms/83xx/km83xx.c          |   1 -
> >  arch/powerpc/platforms/83xx/misc.c            |   1 -
> >  arch/powerpc/platforms/83xx/mpc832x_mds.c     |   1 -
> >  arch/powerpc/platforms/83xx/mpc832x_rdb.c     |   1 -
> >  arch/powerpc/platforms/83xx/mpc836x_mds.c     |   1 -
> >  arch/powerpc/platforms/83xx/mpc836x_rdk.c     |   1 -
> >  arch/powerpc/platforms/85xx/corenet_generic.c |   1 -
> >  arch/powerpc/platforms/85xx/mpc85xx_mds.c     |   1 -
> >  arch/powerpc/platforms/85xx/mpc85xx_rdb.c     |   1 -
> >  arch/powerpc/platforms/85xx/twr_p102x.c       |   1 -
> >  drivers/irqchip/irq-qeic.c                    | 188 +++++++++++---------------
> >  include/soc/fsl/qe/qe_ic.h                    | 132 ------------------
> >  12 files changed, 80 insertions(+), 250 deletions(-)  delete mode
> > 100644 include/soc/fsl/qe/qe_ic.h
> >
> > diff --git a/arch/powerpc/platforms/83xx/km83xx.c
> > b/arch/powerpc/platforms/83xx/km83xx.c
> > index d8642a4..b1cef0a 100644
> > --- a/arch/powerpc/platforms/83xx/km83xx.c
> > +++ b/arch/powerpc/platforms/83xx/km83xx.c
> > @@ -38,7 +38,6 @@
> >  #include <sysdev/fsl_soc.h>
> >  #include <sysdev/fsl_pci.h>
> >  #include <soc/fsl/qe/qe.h>
> > -#include <soc/fsl/qe/qe_ic.h>
> 
> You deleted that file in patch 2. So didn't you just break the build for the last two
> commits?

Sorry, I am not sure what you said. Could you explain?
Thank you!

BR
Qiang Zhao

[toc] | [prev] | [next] | [standalone]


#1706288

FromMichael Ellerman <mpe@ellerman.id.au>
Date2017-08-08 12:10 +0200
Message-ID<uc9Cy-6yS-21@gated-at.bofh.it>
In reply to#1706058
Qiang Zhao <qiang.zhao@nxp.com> writes:

> On Mon 8/7/2017 3:02 PM, Michael Ellerman <mpe@ellerman.id.au> wrote:
>
>> -----Original Message-----
>> From: Michael Ellerman [mailto:mpe@ellerman.id.au]
>> Sent: Monday, August 07, 2017 3:02 PM
>> To: Qiang Zhao <qiang.zhao@nxp.com>; tglx@linutronix.de
>> Cc: oss@buserror.net; Qiang Zhao <qiang.zhao@nxp.com>; linuxppc-
>> dev@lists.ozlabs.org; Xiaobo Xie <xiaobo.xie@nxp.com>; linux-
>> kernel@vger.kernel.org
>> Subject: Re: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC
>> 
>> Zhao Qiang <qiang.zhao@nxp.com> writes:
>> 
>> > QEIC was supported on PowerPC, and dependent on PPC, Now it is
>> > supported on other platforms, so remove PPCisms.
>> >
>> > Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
>> > ---
>> >  arch/powerpc/platforms/83xx/km83xx.c          |   1 -
>> >  arch/powerpc/platforms/83xx/misc.c            |   1 -
>> >  arch/powerpc/platforms/83xx/mpc832x_mds.c     |   1 -
>> >  arch/powerpc/platforms/83xx/mpc832x_rdb.c     |   1 -
>> >  arch/powerpc/platforms/83xx/mpc836x_mds.c     |   1 -
>> >  arch/powerpc/platforms/83xx/mpc836x_rdk.c     |   1 -
>> >  arch/powerpc/platforms/85xx/corenet_generic.c |   1 -
>> >  arch/powerpc/platforms/85xx/mpc85xx_mds.c     |   1 -
>> >  arch/powerpc/platforms/85xx/mpc85xx_rdb.c     |   1 -
>> >  arch/powerpc/platforms/85xx/twr_p102x.c       |   1 -
>> >  drivers/irqchip/irq-qeic.c                    | 188 +++++++++++---------------
>> >  include/soc/fsl/qe/qe_ic.h                    | 132 ------------------
>> >  12 files changed, 80 insertions(+), 250 deletions(-)  delete mode
>> > 100644 include/soc/fsl/qe/qe_ic.h
>> >
>> > diff --git a/arch/powerpc/platforms/83xx/km83xx.c
>> > b/arch/powerpc/platforms/83xx/km83xx.c
>> > index d8642a4..b1cef0a 100644
>> > --- a/arch/powerpc/platforms/83xx/km83xx.c
>> > +++ b/arch/powerpc/platforms/83xx/km83xx.c
>> > @@ -38,7 +38,6 @@
>> >  #include <sysdev/fsl_soc.h>
>> >  #include <sysdev/fsl_pci.h>
>> >  #include <soc/fsl/qe/qe.h>
>> > -#include <soc/fsl/qe/qe_ic.h>
>> 
>> You deleted that file in patch 2. So didn't you just break the build for the last two
>> commits?
>
> Sorry, I am not sure what you said. Could you explain?

Don't worry about it. I was confused by the fact that we have both:

  drivers/soc/fsl/qe/qe_ic.h

and:

  include/soc/fsl/qe/qe_ic.h

cheers

[toc] | [prev] | [next] | [standalone]


#1707017

FromQiang Zhao <qiang.zhao@nxp.com>
Date2017-08-09 04:40 +0200
Message-ID<ucp4B-Fu-11@gated-at.bofh.it>
In reply to#1706288
On Tue 8/8/2017 6:05 PM, Michael Ellerman <mpe@ellerman.id.au> wrote:

> -----Original Message-----
> From: Michael Ellerman [mailto:mpe@ellerman.id.au]
> Sent: Tuesday, August 08, 2017 6:05 PM
> To: Qiang Zhao <qiang.zhao@nxp.com>; tglx@linutronix.de
> Cc: oss@buserror.net; linuxppc-dev@lists.ozlabs.org; Xiaobo Xie
> <xiaobo.xie@nxp.com>; linux-kernel@vger.kernel.org
> Subject: RE: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC
> 
> Qiang Zhao <qiang.zhao@nxp.com> writes:
> 
> > On Mon 8/7/2017 3:02 PM, Michael Ellerman <mpe@ellerman.id.au> wrote:
> >
> >> -----Original Message-----
> >> From: Michael Ellerman [mailto:mpe@ellerman.id.au]
> >> Sent: Monday, August 07, 2017 3:02 PM
> >> To: Qiang Zhao <qiang.zhao@nxp.com>; tglx@linutronix.de
> >> Cc: oss@buserror.net; Qiang Zhao <qiang.zhao@nxp.com>; linuxppc-
> >> dev@lists.ozlabs.org; Xiaobo Xie <xiaobo.xie@nxp.com>; linux-
> >> kernel@vger.kernel.org
> >> Subject: Re: [PATCH v10 4/4] irqchip/qeic: remove PPCisms for QEIC
> >>
> >> Zhao Qiang <qiang.zhao@nxp.com> writes:
> >>
> >> > QEIC was supported on PowerPC, and dependent on PPC, Now it is
> >> > supported on other platforms, so remove PPCisms.
> >> >
> >> > Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
> >> > ---
> >> >  arch/powerpc/platforms/83xx/km83xx.c          |   1 -
> >> >  arch/powerpc/platforms/83xx/misc.c            |   1 -
> >> >  arch/powerpc/platforms/83xx/mpc832x_mds.c     |   1 -
> >> >  arch/powerpc/platforms/83xx/mpc832x_rdb.c     |   1 -
> >> >  arch/powerpc/platforms/83xx/mpc836x_mds.c     |   1 -
> >> >  arch/powerpc/platforms/83xx/mpc836x_rdk.c     |   1 -
> >> >  arch/powerpc/platforms/85xx/corenet_generic.c |   1 -
> >> >  arch/powerpc/platforms/85xx/mpc85xx_mds.c     |   1 -
> >> >  arch/powerpc/platforms/85xx/mpc85xx_rdb.c     |   1 -
> >> >  arch/powerpc/platforms/85xx/twr_p102x.c       |   1 -
> >> >  drivers/irqchip/irq-qeic.c                    | 188 +++++++++++---------------
> >> >  include/soc/fsl/qe/qe_ic.h                    | 132 ------------------
> >> >  12 files changed, 80 insertions(+), 250 deletions(-)  delete mode
> >> > 100644 include/soc/fsl/qe/qe_ic.h
> >> >
> >> > diff --git a/arch/powerpc/platforms/83xx/km83xx.c
> >> > b/arch/powerpc/platforms/83xx/km83xx.c
> >> > index d8642a4..b1cef0a 100644
> >> > --- a/arch/powerpc/platforms/83xx/km83xx.c
> >> > +++ b/arch/powerpc/platforms/83xx/km83xx.c
> >> > @@ -38,7 +38,6 @@
> >> >  #include <sysdev/fsl_soc.h>
> >> >  #include <sysdev/fsl_pci.h>
> >> >  #include <soc/fsl/qe/qe.h>
> >> > -#include <soc/fsl/qe/qe_ic.h>
> >>
> >> You deleted that file in patch 2. So didn't you just break the build
> >> for the last two commits?
> >
> > Sorry, I am not sure what you said. Could you explain?
> 
> Don't worry about it. I was confused by the fact that we have both:
> 
>   drivers/soc/fsl/qe/qe_ic.h
> 
> and:
> 
>   include/soc/fsl/qe/qe_ic.h
> 
> cheers

I think this is a issue left over by history.
In patch with commit id 7aa1aa6ecec2af19d9aa85430ce3e56119e21626, I just move them out from arch/powerpc.  
Maybe need to ask the original author why there are 2 qe_ic.h.

Best Regards
Qiang Zhao

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web