Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-23 Thread Marcin Wojtas
Hi Leif, śr., 23 sty 2019 o 10:42 Leif Lindholm napisał(a): > > On Wed, Jan 23, 2019 at 09:28:40AM +0100, Marcin Wojtas wrote: > > wt., 22 sty 2019 o 22:10 Leif Lindholm > > napisał(a): > > > > > > On Tue, Jan 22, 2019 at 09:56:14PM +0100, Marcin Wojtas wrote: > > > > > > > I think I gave my su

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-23 Thread Leif Lindholm
On Wed, Jan 23, 2019 at 09:28:40AM +0100, Marcin Wojtas wrote: > wt., 22 sty 2019 o 22:10 Leif Lindholm napisał(a): > > > > On Tue, Jan 22, 2019 at 09:56:14PM +0100, Marcin Wojtas wrote: > > > > > > I think I gave my suggestion for the resolution of this problem > > > > > > (with > > > > > > movi

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-23 Thread Marcin Wojtas
Hi Leif, wt., 22 sty 2019 o 22:10 Leif Lindholm napisał(a): > > On Tue, Jan 22, 2019 at 09:56:14PM +0100, Marcin Wojtas wrote: > > > > > I think I gave my suggestion for the resolution of this problem (with > > > > > moving StackBase to 0x0540 as the alternative) in my previous > > > > > repl

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Leif Lindholm
On Tue, Jan 22, 2019 at 09:56:14PM +0100, Marcin Wojtas wrote: > > > > I think I gave my suggestion for the resolution of this problem (with > > > > moving StackBase to 0x0540 as the alternative) in my previous > > > > reply. > > > > > > > > > > Yes, and I answered, presenting the alternative m

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Marcin Wojtas
Hi Leif, wt., 22 sty 2019 o 21:26 Leif Lindholm napisał(a): > > On Tue, Jan 22, 2019 at 08:27:10PM +0100, Marcin Wojtas wrote: > > > > > > In order to fix this, extend the region which is non-accessible > > > > > > by the OS to cover both the ARM-TF (0x400 - 0x420) and OPTEE > > > > > > (

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Leif Lindholm
On Tue, Jan 22, 2019 at 08:27:10PM +0100, Marcin Wojtas wrote: > > > > > In order to fix this, extend the region which is non-accessible > > > > > by the OS to cover both the ARM-TF (0x400 - 0x420) and OPTEE > > > > > (0x440 - 0x540) within a single area (0x400 - 0x540). > >

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Marcin Wojtas
Hi Leif, wt., 22 sty 2019 o 20:06 Leif Lindholm napisał(a): > > On Tue, Jan 22, 2019 at 07:26:58PM +0100, Marcin Wojtas wrote: > > Hi Leif, > > > > wt., 22 sty 2019 o 18:26 Leif Lindholm > > napisał(a): > > > > > > On Tue, Jan 22, 2019 at 02:32:19AM +0100, Marcin Wojtas wrote: > > > > Recent ch

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Leif Lindholm
On Tue, Jan 22, 2019 at 07:26:58PM +0100, Marcin Wojtas wrote: > Hi Leif, > > wt., 22 sty 2019 o 18:26 Leif Lindholm napisał(a): > > > > On Tue, Jan 22, 2019 at 02:32:19AM +0100, Marcin Wojtas wrote: > > > Recent changes in the ARM-TF configure its runtime serices region > > > as protected, hence

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Marcin Wojtas
Hi Leif, wt., 22 sty 2019 o 18:26 Leif Lindholm napisał(a): > > On Tue, Jan 22, 2019 at 02:32:19AM +0100, Marcin Wojtas wrote: > > Recent changes in the ARM-TF configure its runtime serices region > > as protected, hence the hitherto PEI stack base address (0x41F) > > violated it. > > > > In

Re: [edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-22 Thread Leif Lindholm
On Tue, Jan 22, 2019 at 02:32:19AM +0100, Marcin Wojtas wrote: > Recent changes in the ARM-TF configure its runtime serices region > as protected, hence the hitherto PEI stack base address (0x41F) > violated it. > > In order to fix this, extend the region which is non-accessible > by the OS to

[edk2] [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base

2019-01-21 Thread Marcin Wojtas
Recent changes in the ARM-TF configure its runtime serices region as protected, hence the hitherto PEI stack base address (0x41F) violated it. In order to fix this, extend the region which is non-accessible by the OS to cover both the ARM-TF (0x400 - 0x420) and OPTEE (0x440 - 0x540