]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Start AArch32 CPUs with EL2 but not EL3 in Hyp mode
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Sep 2018 13:02:33 +0000 (14:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Sep 2018 14:13:24 +0000 (15:13 +0100)
commit060a65df056a5d6ca3a6a91e7bf150ca1fbccddf
tree408fe7d08c0dee09f520c3fd85f81143bf28c585
parentb3d6b8f5af62fcfcec53110388a46960e641c5b4
target/arm: Start AArch32 CPUs with EL2 but not EL3 in Hyp mode

The ARMv8 architecture defines that an AArch32 CPU starts
in SVC mode, unless EL2 is the highest available EL, in
which case it starts in Hyp mode. (In ARMv7 a CPU with EL2
but not EL3 was not a valid configuration, but we don't
specifically reject this if the user asks for one.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20180823135047.16525-1-peter.maydell@linaro.org
target/arm/cpu.c