Re: [Qemu-devel] [PATCH v3 01/10] target/arm: Fix aarch64_sve_change_el wrt EL0

2018-10-16 Thread Peter Maydell
On 8 October 2018 at 22:21, Richard Henderson wrote: > At present we assert: > > arm_el_is_aa64: Assertion `el >= 1 && el <= 3' failed. > > The comment in arm_el_is_aa64 explains why asking about EL0 without > extra information is impossible. Add an extra argument to provide > it from the

[Qemu-devel] [PATCH v3 01/10] target/arm: Fix aarch64_sve_change_el wrt EL0

2018-10-08 Thread Richard Henderson
At present we assert: arm_el_is_aa64: Assertion `el >= 1 && el <= 3' failed. The comment in arm_el_is_aa64 explains why asking about EL0 without extra information is impossible. Add an extra argument to provide it from the surrounding context. Fixes: 0ab5953b00b3 Signed-off-by: Richard