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

2016-09-26 Thread Jason Jin
> Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape > platforms > > On Friday, September 23, 2016 4:09:29 PM CEST Stuart Yoder wrote: > > > -Original Message- > > > From: Arnd Bergmann [mailto:a...@arndb.de] > > > Se

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

2016-09-26 Thread Jason Jin
> Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape > platforms > > On Friday, September 23, 2016 4:09:29 PM CEST Stuart Yoder wrote: > > > -Original Message- > > > From: Arnd Bergmann [mailto:a...@arndb.de] > > > Se

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

2016-09-23 Thread Stuart Yoder
gt; <b18...@freescale.com>; shawn...@kernel.org; ker...@pengutronix.de; Fabio > Estevam Estevam > <fabio.este...@nxp.com>; li...@armlinux.org.uk; linux-kernel@vger.kernel.org; > Scott Wood > <scott.w...@nxp.com>; Leo Li <leoyang...@nxp.com>; Jason Jin > <jason..

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

2016-09-23 Thread Stuart Yoder
; Estevam Estevam > ; li...@armlinux.org.uk; linux-kernel@vger.kernel.org; > Scott Wood > ; Leo Li ; Jason Jin > > Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape > platforms > > On Friday, September 23, 2016 4:13:30 PM CEST Robin Murphy w

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

2016-09-23 Thread Stuart Yoder
Estevam <fabio.este...@nxp.com>; > li...@armlinux.org.uk; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Scott Wood > <scott.w...@nxp.com>; Leo Li > <leoyang...@nxp.com> > Cc: Jason Jin <jason....@nxp.com> > Subject: Re: [PAT

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

2016-09-23 Thread Stuart Yoder
r...@lists.infradead.org; linux-kernel@vger.kernel.org; Scott Wood > ; Leo Li > > Cc: Jason Jin > Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape > platforms > > On 23/09/16 14:13, Stuart Yoder wrote: > > > > > >> --

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 4:09:29 PM CEST Stuart Yoder wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Sent: Friday, September 23, 2016 10:58 AM > > > Really, though, the firmware call thing is an incredibly niche use-case. > > > Beyond development,

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 4:09:29 PM CEST Stuart Yoder wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Sent: Friday, September 23, 2016 10:58 AM > > > Really, though, the firmware call thing is an incredibly niche use-case. > > > Beyond development,

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 4:13:30 PM CEST Robin Murphy wrote: > On 23/09/16 15:44, Arnd Bergmann wrote: > > On Friday, September 23, 2016 3:24:12 PM CEST Robin Murphy wrote: > >> On 23/09/16 15:01, Stuart Yoder wrote: > >> Otherwise you can > >> always simply run your own shim at EL2 to drive

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 4:13:30 PM CEST Robin Murphy wrote: > On 23/09/16 15:44, Arnd Bergmann wrote: > > On Friday, September 23, 2016 3:24:12 PM CEST Robin Murphy wrote: > >> On 23/09/16 15:01, Stuart Yoder wrote: > >> Otherwise you can > >> always simply run your own shim at EL2 to drive

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

2016-09-23 Thread Robin Murphy
On 23/09/16 15:44, Arnd Bergmann wrote: > On Friday, September 23, 2016 3:24:12 PM CEST Robin Murphy wrote: >> On 23/09/16 15:01, Stuart Yoder wrote: >> Otherwise you can >> always simply run your own shim at EL2 to drive an AArch32 EL1 (it'll >> need to trap and translate subsequent SMC calls for

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

2016-09-23 Thread Robin Murphy
On 23/09/16 15:44, Arnd Bergmann wrote: > On Friday, September 23, 2016 3:24:12 PM CEST Robin Murphy wrote: >> On 23/09/16 15:01, Stuart Yoder wrote: >> Otherwise you can >> always simply run your own shim at EL2 to drive an AArch32 EL1 (it'll >> need to trap and translate subsequent SMC calls for

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 3:24:12 PM CEST Robin Murphy wrote: > On 23/09/16 15:01, Stuart Yoder wrote: > Otherwise you can > always simply run your own shim at EL2 to drive an AArch32 EL1 (it'll > need to trap and translate subsequent SMC calls for e.g. PSCI). > > > If there is such a

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 3:24:12 PM CEST Robin Murphy wrote: > On 23/09/16 15:01, Stuart Yoder wrote: > Otherwise you can > always simply run your own shim at EL2 to drive an AArch32 EL1 (it'll > need to trap and translate subsequent SMC calls for e.g. PSCI). > > > If there is such a

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

2016-09-23 Thread Robin Murphy
.@nxp.com>; li...@armlinux.org.uk; >>>> linux-arm-ker...@lists.infradead.org; linux- >>>> ker...@vger.kernel.org; Scott Wood <scott.w...@nxp.com>; Stuart Yoder >>>> <stuart.yo...@nxp.com>; Leo Li >>>> <leoyang...@nxp.com> &g

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

2016-09-23 Thread Robin Murphy
utronix.de; Fabio Estevam Estevam ; >> li...@armlinux.org.uk; linux-arm- >> ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Scott Wood >> ; Leo Li >> >> Cc: Jason Jin >> Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape >&g

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

2016-09-23 Thread Sudeep Holla
On 23/09/16 14:18, Robin Murphy wrote: On 23/09/16 14:13, Stuart Yoder wrote: [...] Which arch/arm/mach-* platform are you using for Juno? I don't even know! :) I just start with a multi_v7_defconfig plus a few extra bits (LPAE, KVM, sil24, sky2, etc.) and it works. I guess it's the

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

2016-09-23 Thread Sudeep Holla
On 23/09/16 14:18, Robin Murphy wrote: On 23/09/16 14:13, Stuart Yoder wrote: [...] Which arch/arm/mach-* platform are you using for Juno? I don't even know! :) I just start with a multi_v7_defconfig plus a few extra bits (LPAE, KVM, sil24, sky2, etc.) and it works. I guess it's the

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

2016-09-23 Thread Rob Herring
ernel.org; Scott Wood <scott.w...@nxp.com>; Stuart Yoder >>> <stuart.yo...@nxp.com>; Leo Li >>> <leoyang...@nxp.com> >>> Cc: Jason Jin <jason@nxp.com> >>> Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for >>> Layer

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

2016-09-23 Thread Rob Herring
gt; To: Alison Wang ; shawn...@kernel.org; >>> ker...@pengutronix.de; Fabio Estevam >>> Estevam ; li...@armlinux.org.uk; >>> linux-arm-ker...@lists.infradead.org; linux- >>> ker...@vger.kernel.org; Scott Wood ; Stuart Yoder >>> ; Leo Li >>> >>&

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

2016-09-23 Thread Robin Murphy
x.de; Fabio Estevam >> Estevam <fabio.este...@nxp.com>; li...@armlinux.org.uk; >> linux-arm-ker...@lists.infradead.org; linux- >> ker...@vger.kernel.org; Scott Wood <scott.w...@nxp.com>; Stuart Yoder >> <stuart.yo...@nxp.com>; Leo Li >> <leoyan

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

2016-09-23 Thread Robin Murphy
m >> Estevam ; li...@armlinux.org.uk; >> linux-arm-ker...@lists.infradead.org; linux- >> ker...@vger.kernel.org; Scott Wood ; Stuart Yoder >> ; Leo Li >> >> Cc: Jason Jin >> Subject: Re: [PATCH 1/2] armv8: aarch32: Execute 32-bit Linux for LayerScape >>

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

2016-09-23 Thread Stuart Yoder
@armlinux.org.uk; > linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; Scott Wood <scott.w...@nxp.com>; Stuart Yoder > <stuart.yo...@nxp.com>; Leo Li > <leoyang...@nxp.com> > Cc: Jason Jin <jason....@nxp.com> > Subject: Re: [PATCH 1/2]

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

2016-09-23 Thread Stuart Yoder
ead.org; linux- > ker...@vger.kernel.org; Scott Wood ; Stuart Yoder > ; Leo Li > > Cc: Jason Jin > 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 A

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

2016-09-23 Thread Robin Murphy
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.

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

2016-09-23 Thread Robin Murphy
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.

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 10:19:05 AM CEST 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

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

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 10:19:05 AM CEST 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