Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1486833 > unrolled thread
| Started by | Leo Li <pku.leo@gmail.com> |
|---|---|
| First post | 2016-09-19 22:20 +0200 |
| Last post | 2016-09-23 10:50 +0200 |
| Articles | 6 — 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.
Re: [PATCH v5 2/2] QE: remove PPCisms for QE Leo Li <pku.leo@gmail.com> - 2016-09-19 22:20 +0200
RE: [PATCH v5 2/2] QE: remove PPCisms for QE Qiang Zhao <qiang.zhao@nxp.com> - 2016-09-21 07:50 +0200
Re: [PATCH v5 2/2] QE: remove PPCisms for QE Leo Li <pku.leo@gmail.com> - 2016-09-21 20:20 +0200
RE: [PATCH v5 2/2] QE: remove PPCisms for QE Qiang Zhao <qiang.zhao@nxp.com> - 2016-09-22 10:20 +0200
Re: [PATCH v5 2/2] QE: remove PPCisms for QE Leo Li <pku.leo@gmail.com> - 2016-09-22 21:40 +0200
RE: [PATCH v5 2/2] QE: remove PPCisms for QE Qiang Zhao <qiang.zhao@nxp.com> - 2016-09-23 10:50 +0200
| From | Leo Li <pku.leo@gmail.com> |
|---|---|
| Date | 2016-09-19 22:20 +0200 |
| Subject | Re: [PATCH v5 2/2] QE: remove PPCisms for QE |
| Message-ID | <sjdcJ-1DF-1@gated-at.bofh.it> |
On Mon, Jul 25, 2016 at 12:43 AM, Zhao Qiang <qiang.zhao@nxp.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@nxp.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. Regards, Leo
[toc] | [next] | [standalone]
| From | Qiang Zhao <qiang.zhao@nxp.com> |
|---|---|
| Date | 2016-09-21 07:50 +0200 |
| Message-ID | <sjIzT-4Vo-11@gated-at.bofh.it> |
| In reply to | #1486833 |
On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote: > -----Original Message----- > From: Leo Li [mailto:pku.leo@gmail.com] > Sent: Tuesday, September 20, 2016 4:13 AM > To: Qiang Zhao <qiang.zhao@nxp.com> > Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- > dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie > <xiaobo.xie@nxp.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@nxp.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@nxp.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
[toc] | [prev] | [next] | [standalone]
| From | Leo Li <pku.leo@gmail.com> |
|---|---|
| Date | 2016-09-21 20:20 +0200 |
| Message-ID | <sjUhH-3Zp-3@gated-at.bofh.it> |
| In reply to | #1487820 |
On Tue, Sep 20, 2016 at 8:13 PM, Qiang Zhao <qiang.zhao@nxp.com> wrote: > On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote: >> -----Original Message----- >> From: Leo Li [mailto:pku.leo@gmail.com] >> Sent: Tuesday, September 20, 2016 4:13 AM >> To: Qiang Zhao <qiang.zhao@nxp.com> >> Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- >> dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie >> <xiaobo.xie@nxp.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@nxp.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@nxp.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. Then you should update the Kconfig for these drivers too, if they are only depending on CONFIG_QUICC_ENGINE. Regards, Leo
[toc] | [prev] | [next] | [standalone]
| From | Qiang Zhao <qiang.zhao@nxp.com> |
|---|---|
| Date | 2016-09-22 10:20 +0200 |
| Message-ID | <sk7oB-3S7-11@gated-at.bofh.it> |
| In reply to | #1488314 |
On Mon, Sep 22, 2016 at 2:19 AM, Leo Li wrote: > -----Original Message----- > From: Leo Li [mailto:pku.leo@gmail.com] > Sent: Thursday, September 22, 2016 2:19 AM > To: Qiang Zhao <qiang.zhao@nxp.com> > Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- > dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie > <xiaobo.xie@nxp.com> > Subject: Re: [PATCH v5 2/2] QE: remove PPCisms for QE > > On Tue, Sep 20, 2016 at 8:13 PM, Qiang Zhao <qiang.zhao@nxp.com> wrote: > > On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote: > >> -----Original Message----- > >> From: Leo Li [mailto:pku.leo@gmail.com] > >> Sent: Tuesday, September 20, 2016 4:13 AM > >> To: Qiang Zhao <qiang.zhao@nxp.com> > >> Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- > >> dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie > >> <xiaobo.xie@nxp.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@nxp.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@nxp.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. > > Then you should update the Kconfig for these drivers too, if they are only > depending on CONFIG_QUICC_ENGINE. You mean adding "depends on FSL_SOC && PPC32 " to the drivers that are not available for ARM? BR -Zhao Qiang
[toc] | [prev] | [next] | [standalone]
| From | Leo Li <pku.leo@gmail.com> |
|---|---|
| Date | 2016-09-22 21:40 +0200 |
| Message-ID | <ski0G-226-21@gated-at.bofh.it> |
| In reply to | #1488617 |
On Wed, Sep 21, 2016 at 8:43 PM, Qiang Zhao <qiang.zhao@nxp.com> wrote: > On Mon, Sep 22, 2016 at 2:19 AM, Leo Li wrote: >> -----Original Message----- >> From: Leo Li [mailto:pku.leo@gmail.com] >> Sent: Thursday, September 22, 2016 2:19 AM >> To: Qiang Zhao <qiang.zhao@nxp.com> >> Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- >> dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie >> <xiaobo.xie@nxp.com> >> Subject: Re: [PATCH v5 2/2] QE: remove PPCisms for QE >> >> On Tue, Sep 20, 2016 at 8:13 PM, Qiang Zhao <qiang.zhao@nxp.com> wrote: >> > On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote: >> >> -----Original Message----- >> >> From: Leo Li [mailto:pku.leo@gmail.com] >> >> Sent: Tuesday, September 20, 2016 4:13 AM >> >> To: Qiang Zhao <qiang.zhao@nxp.com> >> >> Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- >> >> dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie >> >> <xiaobo.xie@nxp.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@nxp.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@nxp.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. >> >> Then you should update the Kconfig for these drivers too, if they are only >> depending on CONFIG_QUICC_ENGINE. > > You mean adding "depends on FSL_SOC && PPC32 " to the drivers that are not available for ARM? Yes. Previously these drivers get the architecture limitation from CONFIG_QUICC_ENGINE, but now they need them by their own. Regards, Leo
[toc] | [prev] | [next] | [standalone]
| From | Qiang Zhao <qiang.zhao@nxp.com> |
|---|---|
| Date | 2016-09-23 10:50 +0200 |
| Message-ID | <skulc-1p5-19@gated-at.bofh.it> |
| In reply to | #1489501 |
On Fri, Sep 23, 2016 at 3:39 AM, Leo Li wrote: > -----Original Message----- > From: Leo Li [mailto:pku.leo@gmail.com] > Sent: Friday, September 23, 2016 3:39 AM > To: Qiang Zhao <qiang.zhao@nxp.com> > Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- > dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie > <xiaobo.xie@nxp.com> > Subject: Re: [PATCH v5 2/2] QE: remove PPCisms for QE > > On Wed, Sep 21, 2016 at 8:43 PM, Qiang Zhao <qiang.zhao@nxp.com> wrote: > > On Mon, Sep 22, 2016 at 2:19 AM, Leo Li wrote: > >> -----Original Message----- > >> From: Leo Li [mailto:pku.leo@gmail.com] > >> Sent: Thursday, September 22, 2016 2:19 AM > >> To: Qiang Zhao <qiang.zhao@nxp.com> > >> Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- > >> dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. Xie > >> <xiaobo.xie@nxp.com> > >> Subject: Re: [PATCH v5 2/2] QE: remove PPCisms for QE > >> > >> On Tue, Sep 20, 2016 at 8:13 PM, Qiang Zhao <qiang.zhao@nxp.com> wrote: > >> > On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote: > >> >> -----Original Message----- > >> >> From: Leo Li [mailto:pku.leo@gmail.com] > >> >> Sent: Tuesday, September 20, 2016 4:13 AM > >> >> To: Qiang Zhao <qiang.zhao@nxp.com> > >> >> Cc: Scott Wood <oss@buserror.net>; linuxppc-dev <linuxppc- > >> >> dev@lists.ozlabs.org>; lkml <linux-kernel@vger.kernel.org>; X.B. > >> >> Xie <xiaobo.xie@nxp.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@nxp.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@nxp.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. > >> > >> Then you should update the Kconfig for these drivers too, if they are > >> only depending on CONFIG_QUICC_ENGINE. > > > > You mean adding "depends on FSL_SOC && PPC32 " to the drivers that are > not available for ARM? > > Yes. Previously these drivers get the architecture limitation from > CONFIG_QUICC_ENGINE, but now they need them by their own. > Ok, I will modify it in the next vertion. BR -Zhao Qiang
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web