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


Groups > linux.kernel > #1490060

RE: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms

From Stuart Yoder <stuart.yoder@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms
Date 2016-09-23 15:20 +0200
Message-ID <skyyt-47t-7@gated-at.bofh.it> (permalink)
References <skxj4-38t-33@gated-at.bofh.it> <skxCq-3yR-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> -----Original Message-----
> From: Robin Murphy [mailto:robin.murphy@arm.com]
> Sent: Friday, September 23, 2016 7:17 AM
> To: Alison Wang <b18965@freescale.com>; shawnguo@kernel.org; kernel@pengutronix.de; Fabio Estevam
> Estevam <fabio.estevam@nxp.com>; linux@armlinux.org.uk; linux-arm-kernel@lists.infradead.org; linux-
> kernel@vger.kernel.org; Scott Wood <scott.wood@nxp.com>; Stuart Yoder <stuart.yoder@nxp.com>; Leo Li
> <leoyang.li@nxp.com>
> Cc: Jason Jin <jason.jin@nxp.com>
> Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms
> 
> Hi Alison,
> 
> On 23/09/16 03:19, Alison Wang wrote:
> > The ARMv8 architecture supports:
> > 1. 64-bit execution state, AArch64.
> > 2. 32-bit execution state, AArch32, that is compatible with previous
> > versions of the ARM architecture.
> >
> > LayerScape platforms are compliant with ARMv8 architecture. This patch
> > is to support running 32-bit Linux kernel for LayerScape platforms.
> >
> > Verified on LayerScape LS1043ARDB, LS1012ARDB, LS1046ARDB boards.
> >
> > Signed-off-by: Ebony Zhu <ebony.zhu@nxp.com>
> > Signed-off-by: Alison Wang <alison.wang@nxp.com>
> > ---
> >  arch/arm/Kconfig                    |  9 +++++++++
> >  arch/arm/mach-imx/Kconfig           | 14 ++++++++++++++
> >  arch/arm/mach-imx/Makefile          |  4 +++-
> >  arch/arm/mach-imx/mach-layerscape.c | 23 +++++++++++++++++++++++
> >  4 files changed, 49 insertions(+), 1 deletion(-)
> >  create mode 100644 arch/arm/mach-imx/mach-layerscape.c
> >
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index f0c8068..e8d470e 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -294,6 +294,15 @@ config PGTABLE_LEVELS
> >  	default 3 if ARM_LPAE
> >  	default 2
> >
> > +config ARCH_AARCH32_ES_SUPPORT
> > +	def_bool n
> > +	help
> > +	 The ARMv8 architecture supports 64-bit execution state, AArch64
> > +	 and 32-bit execution state, AArch32, that is compatible with
> > +	 previous versions of the ARM architecture.
> > +
> > +	 Enable AArch32 execution state support for ARMv8 architecture.
> 
> What's this supposed to do, exactly? I've been running 32-bit kernels on
> my Juno with very little issue (beyond a couple of DT tweaks, and some
> firmware hacks with a corresponding bit of A64 assembly tacked on the
> front of the zImage to switch into AArch32 state).

Which arch/arm/mach-* platform are you using for Juno?

Thanks,
Stuart

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Robin Murphy <robin.murphy@arm.com> - 2016-09-23 14:20 +0200
  RE: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Stuart Yoder <stuart.yoder@nxp.com> - 2016-09-23 15:20 +0200
    Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Robin Murphy <robin.murphy@arm.com> - 2016-09-23 15:20 +0200
      Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms Rob Herring <robh@kernel.org> - 2016-09-23 15:30 +0200
      Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Sudeep Holla <sudeep.holla@arm.com> - 2016-09-23 15:50 +0200
      Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Robin Murphy <robin.murphy@arm.com> - 2016-09-23 16:30 +0200
        Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms Arnd Bergmann <arnd@arndb.de> - 2016-09-23 16:50 +0200
          Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Robin Murphy <robin.murphy@arm.com> - 2016-09-23 17:20 +0200
            Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms Arnd Bergmann <arnd@arndb.de> - 2016-09-23 18:00 +0200
              Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape platforms Arnd Bergmann <arnd@arndb.de> - 2016-09-23 20:30 +0200
                RE: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Jason Jin <jason.jin@nxp.com> - 2016-09-26 23:30 +0200
              RE: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Stuart Yoder <stuart.yoder@nxp.com> - 2016-09-23 21:50 +0200
      RE: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape  platforms Stuart Yoder <stuart.yoder@nxp.com> - 2016-09-23 21:40 +0200

csiph-web