[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM3PR04MB11858157D9D1455AD49DBF6291F60@AM3PR04MB1185.eurprd04.prod.outlook.com>
Date: Wed, 21 Sep 2016 01:13:19 +0000
From: Qiang Zhao <qiang.zhao@....com>
To: Leo Li <pku.leo@...il.com>
CC: Scott Wood <oss@...error.net>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
lkml <linux-kernel@...r.kernel.org>,
"X.B. Xie" <xiaobo.xie@....com>
Subject: RE: [PATCH v5 2/2] QE: remove PPCisms for QE
On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote:
> -----Original Message-----
> From: Leo Li [mailto:pku.leo@...il.com]
> Sent: Tuesday, September 20, 2016 4:13 AM
> To: Qiang Zhao <qiang.zhao@....com>
> Cc: Scott Wood <oss@...error.net>; linuxppc-dev <linuxppc-
> dev@...ts.ozlabs.org>; lkml <linux-kernel@...r.kernel.org>; X.B. Xie
> <xiaobo.xie@....com>
> Subject: Re: [PATCH v5 2/2] QE: remove PPCisms for QE
>
> On Mon, Jul 25, 2016 at 12:43 AM, Zhao Qiang <qiang.zhao@....com> wrote:
> > QE 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@....com>
> > ---
> > Changes for v2:
> > - na
> > Changes for v3:
> > - add NO_IRQ
> > Changes for v4:
> > - modify spin_event_timeout to opencoded timeout loop
> > - remove NO_IRQ
> > - modify virq_to_hw to opencoed code Changes for v5:
> > - modify commit msg
> > - modify depends of QUICC_ENGINE
> > - add kerneldoc header for qe_issue_cmd
> >
> > drivers/irqchip/qe_ic.c | 28 +++++++++------
> > drivers/soc/fsl/qe/Kconfig | 2 +-
> > drivers/soc/fsl/qe/qe.c | 80 ++++++++++++++++++++++++++--------------
> ---
> > drivers/soc/fsl/qe/qe_io.c | 42 ++++++++++-------------
> > drivers/soc/fsl/qe/qe_tdm.c | 8 ++---
> > drivers/soc/fsl/qe/ucc.c | 10 +++---
> > drivers/soc/fsl/qe/ucc_fast.c | 68 ++++++++++++++++++------------------
> > include/soc/fsl/qe/qe.h | 1 -
> > include/soc/fsl/qe/qe_ic.h | 12 +++----
> > 9 files changed, 133 insertions(+), 118 deletions(-)
> >
>
> [snip]
>
> > diff --git a/drivers/soc/fsl/qe/Kconfig b/drivers/soc/fsl/qe/Kconfig
> > index 73a2e08..b26b643 100644
> > --- a/drivers/soc/fsl/qe/Kconfig
> > +++ b/drivers/soc/fsl/qe/Kconfig
> > @@ -4,7 +4,7 @@
> >
> > config QUICC_ENGINE
> > bool "Freescale QUICC Engine (QE) Support"
> > - depends on FSL_SOC && PPC32
> > + depends on OF && HAS_IOMEM
> > select GENERIC_ALLOCATOR
> > select CRC32
> > help
>
> You make it possible to build QE drivers on ARM, but the UCC_GETH fails to
> build on arm64. Please make sure all these drivers can build on other
> architectures. Or you can simply make them only build for Power architecture
> as most of them are not available on ARM.
>
Most of them are not available on ARM and ARM64.
Now, only qe-hdlc is available on ARM64.
BR
-Zhao Qiang
Powered by blists - more mailing lists