]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Adjust the order of Phys and Stage2 ARMMMUIdx
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 23 Jun 2023 10:15:45 +0000 (11:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 23 Jun 2023 10:15:45 +0000 (11:15 +0100)
commitd38fa9670d14331fc766dfc15b2bc6628d0149d0
tree01f33f9172320027d1b1f1e5aecfc6d1bdefc078
parent4d6e1c6495f483e8c48526189c4c6984b44365fc
target/arm: Adjust the order of Phys and Stage2 ARMMMUIdx

It will be helpful to have ARMMMUIdx_Phys_* to be in the same
relative order as ARMSecuritySpace enumerators. This requires
the adjustment to the nstable check. While there, check for being
in secure state rather than rely on clearing the low bit making
no change to non-secure state.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230620124418.805717-8-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/ptw.c