Re: [PATCH] aarch64: improve start code for aarch32 mode

2021-07-02 Thread Gedare Bloom
On Fri, Jul 2, 2021 at 6:45 AM Kinsey Moore wrote: > > I think there is a misunderstanding here as to what ILP32 is. ILP32 is > still AArch64 code, just running with a ARMv7-compatible data model > (pointers, ints, and longs are all 32-bit). AArch32 is literally ARMv7 > code. The ILP32 flag should

Re: [PATCH] aarch64: improve start code for aarch32 mode

2021-07-02 Thread Kinsey Moore
I think there is a misunderstanding here as to what ILP32 is. ILP32 is still AArch64 code, just running with a ARMv7-compatible data model (pointers, ints, and longs are all 32-bit). AArch32 is literally ARMv7 code. The ILP32 flag should not set the AArch32 flag in SPSR_EL3. Kinsey On 7/1/20

[PATCH] aarch64: improve start code for aarch32 mode

2021-07-01 Thread Gedare Bloom
--- bsps/aarch64/shared/start/start.S | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/bsps/aarch64/shared/start/start.S b/bsps/aarch64/shared/start/start.S index f4c39dacdf..f47625ef99 100644 --- a/bsps/aarch64/shared/start/start.S +++ b/bsps/a