aboutsummaryrefslogtreecommitdiff
path: root/softmmu/cpus.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2021-09-20 22:39:31 +0200
committerPeter Maydell <peter.maydell@linaro.org>2021-09-30 13:42:09 +0100
commit01e75d87834a5188f98defa2d1f88b69dca7e9a0 (patch)
tree4ed6e5b193e27a22191c5a729b5431d3db4180a4 /softmmu/cpus.c
parentba0fa56bc06e563de68d2a2bf3ddb0cfea1be4f9 (diff)
downloadqemu-01e75d87834a5188f98defa2d1f88b69dca7e9a0.zip
qemu-01e75d87834a5188f98defa2d1f88b69dca7e9a0.tar.gz
qemu-01e75d87834a5188f98defa2d1f88b69dca7e9a0.tar.bz2
allwinner-h3: Switch to SMC as PSCI conduit
The Allwinner H3 SoC uses Cortex-A7 cores which support virtualization. However, today we are configuring QEMU to use HVC as PSCI conduit. That means HVC calls get trapped into QEMU instead of the guest's own emulated CPU and thus break the guest's ability to execute virtualization. Fix this by moving to SMC as conduit, freeing up HYP completely to the VM. Signed-off-by: Alexander Graf <agraf@csgraf.de> Message-id: 20210920203931.66527-1-agraf@csgraf.de Fixes: 740dafc0ba0 ("hw/arm: add Allwinner H3 System-on-Chip") Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com> Tested-by: Niek Linnenbank <nieklinnenbank@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'softmmu/cpus.c')
0 files changed, 0 insertions, 0 deletions