Re: [PATCH] xen/arm32: SPSR_hyp/SPSR

2021-06-09 Thread Stefano Stabellini
On Wed, 9 Jun 2021, Julien Grall wrote: > Hi Stefano, > > On 09/06/2021 18:43, Stefano Stabellini wrote: > > SPSR_hyp is not meant to be accessed from Hyp mode (EL2); accesses > > trigger UNPREDICTABLE behaviour. Xen should read/write SPSR instead. > > Please provide a reference to the spec.

Re: [PATCH] xen/arm32: SPSR_hyp/SPSR

2021-06-09 Thread Edgar E. Iglesias
On Wed, Jun 09, 2021 at 06:53:02PM +0100, Julien Grall wrote: > Hi Stefano, > > On 09/06/2021 18:43, Stefano Stabellini wrote: > > SPSR_hyp is not meant to be accessed from Hyp mode (EL2); accesses > > trigger UNPREDICTABLE behaviour. Xen should read/write SPSR instead. > > Please provide a

Re: [PATCH] xen/arm32: SPSR_hyp/SPSR

2021-06-09 Thread Julien Grall
Hi Stefano, On 09/06/2021 18:43, Stefano Stabellini wrote: SPSR_hyp is not meant to be accessed from Hyp mode (EL2); accesses trigger UNPREDICTABLE behaviour. Xen should read/write SPSR instead. Please provide a reference to the spec. This helps reviewer and/or future developper to figure

[PATCH] xen/arm32: SPSR_hyp/SPSR

2021-06-09 Thread Stefano Stabellini
SPSR_hyp is not meant to be accessed from Hyp mode (EL2); accesses trigger UNPREDICTABLE behaviour. Xen should read/write SPSR instead. This fixes booting Xen/arm32 on QEMU. Signed-off-by: Stefano Stabellini --- xen/arch/arm/arm32/entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2