]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Improve masking in arm_hcr_el2_eff
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Mar 2020 16:09:17 +0000 (16:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Mar 2020 16:09:17 +0000 (16:09 +0000)
commit4990e1d3c128580dd2fa0bbb1a42b6d63ba1ac28
tree6e8a0199e60d593ea3cea413e888f953fbb783ff
parenta6c2b338113a710dbd97e5c35baf66354d615d1f
target/arm: Improve masking in arm_hcr_el2_eff

Update the {TGE,E2H} == '11' masking to ARMv8.6.
If EL2 is configured for aarch32, disable all of
the bits that are RES0 in aarch32 mode.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200229012811.24129-6-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c