Re: [PATCH v2 2/3] arm64: Bail out PIE builds early if load address is not 4K aligned

2020-09-08 Thread Stephen Warren
On 9/7/20 3:52 AM, Edgar E. Iglesias wrote: > On Fri, Sep 04, 2020 at 12:43:57PM -0600, Stephen Warren wrote: >> On 9/4/20 3:07 AM, Edgar E. Iglesias wrote: >>> From: "Edgar E. Iglesias" >>> >>> PIE requires a 4K aligned load address. If this is not met, trap >>> the startup sequence in a WFI

Re: [PATCH v2 2/3] arm64: Bail out PIE builds early if load address is not 4K aligned

2020-09-07 Thread Edgar E. Iglesias
On Mon, Sep 07, 2020 at 08:57:39AM -0400, Tom Rini wrote: > On Mon, Sep 07, 2020 at 11:52:35AM +0200, Edgar E. Iglesias wrote: > > On Fri, Sep 04, 2020 at 12:43:57PM -0600, Stephen Warren wrote: > > > On 9/4/20 3:07 AM, Edgar E. Iglesias wrote: > > > > From: "Edgar E. Iglesias" > > > > > > > >

Re: [PATCH v2 2/3] arm64: Bail out PIE builds early if load address is not 4K aligned

2020-09-07 Thread Tom Rini
On Mon, Sep 07, 2020 at 11:52:35AM +0200, Edgar E. Iglesias wrote: > On Fri, Sep 04, 2020 at 12:43:57PM -0600, Stephen Warren wrote: > > On 9/4/20 3:07 AM, Edgar E. Iglesias wrote: > > > From: "Edgar E. Iglesias" > > > > > > PIE requires a 4K aligned load address. If this is not met, trap > > >

Re: [PATCH v2 2/3] arm64: Bail out PIE builds early if load address is not 4K aligned

2020-09-07 Thread Edgar E. Iglesias
On Fri, Sep 04, 2020 at 12:43:57PM -0600, Stephen Warren wrote: > On 9/4/20 3:07 AM, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > PIE requires a 4K aligned load address. If this is not met, trap > > the startup sequence in a WFI loop rather than running into obscure > >

Re: [PATCH v2 2/3] arm64: Bail out PIE builds early if load address is not 4K aligned

2020-09-04 Thread Stephen Warren
On 9/4/20 3:07 AM, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias" > > PIE requires a 4K aligned load address. If this is not met, trap > the startup sequence in a WFI loop rather than running into obscure > failures. > diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S >

[PATCH v2 2/3] arm64: Bail out PIE builds early if load address is not 4K aligned

2020-09-04 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" PIE requires a 4K aligned load address. If this is not met, trap the startup sequence in a WFI loop rather than running into obscure failures. Tested-by: Michal Simek Suggested-by: André Przywara Signed-off-by: Edgar E. Iglesias --- arch/arm/cpu/armv8/start.S | 17