]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Update arm_cpu_do_interrupt_aarch64 for VHE
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Feb 2020 14:04:27 +0000 (14:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Feb 2020 14:04:27 +0000 (14:04 +0000)
commitcb092fbbaeb7b4e91b3f9c53150c8160f91577c7
tree05bf3ccf25a8df34ce1d9c5299fb8015b3a5c992
parentcc28fc30e333dc2f20ebfde54444697e26cd8f6d
target/arm: Update arm_cpu_do_interrupt_aarch64 for VHE

When VHE is enabled, the exception level below EL2 is not EL1,
but EL0, and so to identify the entry vector offset for exceptions
targeting EL2 we need to look at the width of EL0, not of EL1.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200206105448.4726-37-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c