summaryrefslogtreecommitdiffstats
path: root/include/hw/loongarch/virt.h
diff options
context:
space:
mode:
authorAke Koomsin2022-11-01 07:42:53 +0100
committerPeter Maydell2022-11-04 11:58:58 +0100
commit638d5dbd78ea81c943959e2f2c65c109e5278a78 (patch)
tree62dba4461b9798e8d61edf712ea8147cf2b51315 /include/hw/loongarch/virt.h
parenttarget/arm: Copy the entire vector in DO_ZIP (diff)
downloadqemu-638d5dbd78ea81c943959e2f2c65c109e5278a78.tar.gz
qemu-638d5dbd78ea81c943959e2f2c65c109e5278a78.tar.xz
qemu-638d5dbd78ea81c943959e2f2c65c109e5278a78.zip
target/arm: Honor HCR_E2H and HCR_TGE in ats_write64()
We need to check HCR_E2H and HCR_TGE to select the right MMU index for the correct translation regime. To check for EL2&0 translation regime: - For S1E0*, S1E1* and S12E* ops, check both HCR_E2H and HCR_TGE - For S1E2* ops, check only HCR_E2H Signed-off-by: Ake Koomsin <ake@igel.co.jp> Message-id: 20221101064250.12444-1-ake@igel.co.jp Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/loongarch/virt.h')
0 files changed, 0 insertions, 0 deletions