]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Treat LDTR* and STTR* as LDR/STR when NV, NV1 is 1, 1
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:51 +0000 (14:43 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:51 +0000 (14:43 +0000)
commit2e9b1e50bdf61cadff91ba16f6fc92ef4317803f
tree9d121ee527cc54000fa05dfc1c0b797fc7fbf7c8
parentf11440b4261fd5db888c300936c0c4537543aed6
target/arm: Treat LDTR* and STTR* as LDR/STR when NV, NV1 is 1, 1

FEAT_NV requires (per I_JKLJK) that when HCR_EL2.{NV,NV1} is {1,1} the
unprivileged-access instructions LDTR, STTR etc behave as normal
loads and stores. Implement the check that handles this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Miguel Luis <miguel.luis@oracle.com>
target/arm/tcg/hflags.c