summaryrefslogtreecommitdiffstats
path: root/include/qemu/job.h
diff options
context:
space:
mode:
authorPeter Maydell2018-08-24 14:17:39 +0200
committerPeter Maydell2018-08-24 14:17:39 +0200
commit299953b989878d8f9ea38c7ea2d6760d49c0325e (patch)
tree5b46d01d5d0af5d4a76ac440c1bc48c6c8bc3909 /include/qemu/job.h
parenttarget/arm: Clear CPSR.IL and CPSR.J on 32-bit exception entry (diff)
downloadqemu-299953b989878d8f9ea38c7ea2d6760d49c0325e.tar.gz
qemu-299953b989878d8f9ea38c7ea2d6760d49c0325e.tar.xz
qemu-299953b989878d8f9ea38c7ea2d6760d49c0325e.zip
hw/arm/boot: AArch32 kernels should be started in Hyp mode if available
The kernel booting specification for an AArch32 kernel requires that it is booted in Hyp mode if available; otherwise the kernel can't enable KVM. We were incorrectly leaving the kernel in SVC mode. If we're booting an AArch32 kernel in the Nonsecure state and Hyp mode is available, start in it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Luc Michel <luc.michel@greensocs.com> Message-id: 20180820153020.21478-7-peter.maydell@linaro.org
Diffstat (limited to 'include/qemu/job.h')
0 files changed, 0 insertions, 0 deletions