Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-10 Thread Ard Biesheuvel
On 10 November 2017 at 09:29, Laszlo Ersek wrote: > On 11/09/17 22:11, Ard Biesheuvel wrote: >> On 7 November 2017 at 18:13, Ard Biesheuvel >> wrote: >>> On 7 November 2017 at 18:09, Laszlo Ersek wrote: On 11/05/17 17:29,

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-10 Thread Laszlo Ersek
On 11/09/17 22:11, Ard Biesheuvel wrote: > On 7 November 2017 at 18:13, Ard Biesheuvel wrote: >> On 7 November 2017 at 18:09, Laszlo Ersek wrote: >>> On 11/05/17 17:29, Ard Biesheuvel wrote: On 5 November 2017 at 16:27, Ard Biesheuvel

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-09 Thread Ard Biesheuvel
On 7 November 2017 at 18:13, Ard Biesheuvel wrote: > On 7 November 2017 at 18:09, Laszlo Ersek wrote: >> On 11/05/17 17:29, Ard Biesheuvel wrote: >>> On 5 November 2017 at 16:27, Ard Biesheuvel >>> wrote: On 5

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-09 Thread Ard Biesheuvel
On 8 November 2017 at 16:12, Leif Lindholm wrote: > On Sun, Nov 05, 2017 at 04:29:15PM +, Ard Biesheuvel wrote: >> >> OK, this may sound completely unreasonable, but seeing those >> >> implementations overwrite callee-saved registers without saving them >> >> makes

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-08 Thread Leif Lindholm
On Sun, Nov 05, 2017 at 04:29:15PM +, Ard Biesheuvel wrote: > >> OK, this may sound completely unreasonable, but seeing those > >> implementations overwrite callee-saved registers without saving them > >> makes my brain unhappy. (Yes, I know.) > >> > >> Could they either: > >> - Have a comment

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-07 Thread Ard Biesheuvel
On 7 November 2017 at 18:09, Laszlo Ersek wrote: > On 11/05/17 17:29, Ard Biesheuvel wrote: >> On 5 November 2017 at 16:27, Ard Biesheuvel >> wrote: >>> On 5 November 2017 at 05:52, Leif Lindholm wrote: On Fri, Nov

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-07 Thread Laszlo Ersek
On 11/05/17 17:29, Ard Biesheuvel wrote: > On 5 November 2017 at 16:27, Ard Biesheuvel wrote: >> On 5 November 2017 at 05:52, Leif Lindholm wrote: >>> On Fri, Nov 03, 2017 at 11:33:52AM +, Ard Biesheuvel wrote: DEBUG builds of PEI

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-05 Thread Gao, Liming
Reviewed-by: Liming Gao >-Original Message- >From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] >Sent: Friday, November 03, 2017 7:34 PM >To: edk2-devel@lists.01.org; leif.lindh...@linaro.org; ler...@redhat.com; >Gao, Liming >Cc: Ard

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-05 Thread Ard Biesheuvel
On 5 November 2017 at 16:27, Ard Biesheuvel wrote: > On 5 November 2017 at 05:52, Leif Lindholm wrote: >> On Fri, Nov 03, 2017 at 11:33:52AM +, Ard Biesheuvel wrote: >>> DEBUG builds of PEI code will print a diagnostic message regarding

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-05 Thread Ard Biesheuvel
On 5 November 2017 at 05:52, Leif Lindholm wrote: > On Fri, Nov 03, 2017 at 11:33:52AM +, Ard Biesheuvel wrote: >> DEBUG builds of PEI code will print a diagnostic message regarding >> the utilization of temporary RAM before switching to permanent RAM. >> For

Re: [edk2] [PATCH v2] ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core

2017-11-04 Thread Leif Lindholm
On Fri, Nov 03, 2017 at 11:33:52AM +, Ard Biesheuvel wrote: > DEBUG builds of PEI code will print a diagnostic message regarding > the utilization of temporary RAM before switching to permanent RAM. > For example, > > Total temporary memory:16352 bytes. > temporary memory stack ever