Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Peng Fan
Hi Albert, On Mon, Oct 19, 2015 at 08:48:56AM +0200, Albert ARIBAUD wrote: >Hello Peng, > >On Mon, 19 Oct 2015 13:40:51 +0800, Peng Fan >wrote: >> On Tue, Oct 06, 2015 at 05:13:24PM -0500, Frank Li wrote: >> >When added above configuration, iram fix up plus relocate offset

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Albert ARIBAUD
Hello Peng, On Mon, 19 Oct 2015 13:40:51 +0800, Peng Fan wrote: > On Tue, Oct 06, 2015 at 05:13:24PM -0500, Frank Li wrote: > >When added above configuration, iram fix up plus relocate offset may locate > >in invalidate space. Write back fix up value will cause data abort.

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Albert ARIBAUD
Hello Peng, (cutting a bit through the previous mails quoting) > >This, in turn, leads to new questions: > > > >1. How is this PSCI code put in place? Is it bundled with the image, > > with a specificy copy routine which puts it in place then locks the > Yeah. > > memory range against

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Peng Fan
Hi Albert, On Mon, Oct 19, 2015 at 01:48:25PM +0200, Albert ARIBAUD wrote: >Hello Peng, > >(cutting a bit through the previous mails quoting) > >> >This, in turn, leads to new questions: >> > >> >1. How is this PSCI code put in place? Is it bundled with the image, >> > with a specificy copy

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Albert ARIBAUD
Hello Peng, On Mon, 19 Oct 2015 15:19:09 +0800, Peng Fan wrote: > Hi Albert, > On Mon, Oct 19, 2015 at 08:48:56AM +0200, Albert ARIBAUD wrote: > >Hello Peng, > > > >On Mon, 19 Oct 2015 13:40:51 +0800, Peng Fan > >wrote: > >> On Tue, Oct 06, 2015 at

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Peng Fan
Hi Albert, On Mon, Oct 19, 2015 at 10:23:40AM +0200, Albert ARIBAUD wrote: >Hello Peng, > >On Mon, 19 Oct 2015 15:19:09 +0800, Peng Fan >wrote: >> Hi Albert, >> On Mon, Oct 19, 2015 at 08:48:56AM +0200, Albert ARIBAUD wrote: >> >Hello Peng, >> > >> >On Mon, 19 Oct 2015

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-19 Thread Li Frank
@denx.de; Estevam Fabio-R49496 > <fabio.este...@freescale.com>; ota...@ossystems.com.br; > tr...@konsulko.com; hdego...@redhat.com; Fan Peng-B51431 > <peng....@freescale.com> > Subject: Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when > CONFIG_ARMV7_SECURE_BASE > >

Re: [U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-18 Thread Peng Fan
On Tue, Oct 06, 2015 at 05:13:24PM -0500, Frank Li wrote: >When added above configuration, iram fix up plus relocate offset may locate >in invalidate space. Write back fix up value will cause data abort. > >Add address check, skip psci code. > >Signed-off-by: Frank Li >---

[U-Boot] [PATCH 1/3] ARM: relocate: fix hang when CONFIG_ARMV7_SECURE_BASE

2015-10-06 Thread Frank Li
When added above configuration, iram fix up plus relocate offset may locate in invalidate space. Write back fix up value will cause data abort. Add address check, skip psci code. Signed-off-by: Frank Li --- arch/arm/lib/relocate.S | 4 1 file changed, 4