target/arm: Handle HCR_EL2 accesses for bits introduced with FEAT_NV
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:44 +0000 (14:43 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jan 2024 14:43:44 +0000 (14:43 +0000)
commit67e55c73c3488762eb732f9e33f352f39093f831
tree094fc2fd12458a3d3497cb2e67118493d9420770
parent82a65e3188abebb509510b391726711606aca642
target/arm: Handle HCR_EL2 accesses for bits introduced with FEAT_NV

FEAT_NV defines three new bits in HCR_EL2: NV, NV1 and AT.  When the
feature is enabled, allow these bits to be written, and flush the
TLBs for the bits which affect page table interpretation.

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/cpu-features.h
target/arm/helper.c