Re: [PATCH] target/arm: HVC at EL3 should go to EL3, not EL2

2023-11-09 Thread Richard Henderson
On 11/9/23 07:19, Peter Maydell wrote: AArch64 permits code at EL3 to use the HVC instruction; however the exception we take should go to EL3, not down to EL2 (see the pseudocode AArch64.CallHypervisor()). Fix the target EL. Cc: qemu-sta...@nongnu.org Signed-off-by: Peter Maydell --- target/a

Re: [PATCH] target/arm: HVC at EL3 should go to EL3, not EL2

2023-11-09 Thread Edgar E. Iglesias
On Thu, Nov 9, 2023 at 4:20 PM Peter Maydell wrote: > AArch64 permits code at EL3 to use the HVC instruction; however the > exception we take should go to EL3, not down to EL2 (see the pseudocode > AArch64.CallHypervisor()). Fix the target EL. > > Cc: qemu-sta...@nongnu.org > Signed-off-by: Peter

[PATCH] target/arm: HVC at EL3 should go to EL3, not EL2

2023-11-09 Thread Peter Maydell
AArch64 permits code at EL3 to use the HVC instruction; however the exception we take should go to EL3, not down to EL2 (see the pseudocode AArch64.CallHypervisor()). Fix the target EL. Cc: qemu-sta...@nongnu.org Signed-off-by: Peter Maydell --- target/arm/tcg/translate-a64.c | 4 +++- 1 file ch