]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Don't honour PSTATE.PAN when HCR_EL2.{NV, NV1} == {1, 1}
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:50 +0000 (14:43 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:50 +0000 (14:43 +0000)
commitf11440b4261fd5db888c300936c0c4537543aed6
tree9b74742ccee81e2f9025fd39cf8958cb2efc4990
parent7fda076357684b643e1abc0553a1622b25c43a05
target/arm: Don't honour PSTATE.PAN when HCR_EL2.{NV, NV1} == {1, 1}

For FEAT_NV, when HCR_EL2.{NV,NV1} is {1,1} PAN is always disabled
even when the PSTATE.PAN bit is set. Implement this by having
arm_pan_enabled() return false in this situation.

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/helper.c