target/arm: Implement FEAT_LPA
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Mar 2022 21:59:50 +0000 (11:59 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 2 Mar 2022 19:27:37 +0000 (19:27 +0000)
commit7a928f43d8724bdf0777d7fc67a5ad973a0bf4bf
treebda1102a1e105baa0947a7fb761fba733834e7af
parent0af312b6edd231e1c8d0dec12494a80bc39ac761
target/arm: Implement FEAT_LPA

This feature widens physical addresses (and intermediate physical
addresses for 2-stage translation) from 48 to 52 bits, when using
64k pages.  The only thing left at this point is to handle the
extra bits in the TTBR and in the table descriptors.

Note that PAR_EL1 and HPFAR_EL2 are nominally extended, but we don't
mask out the high bits when writing to those registers, so no changes
are required there.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220301215958.157011-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
docs/system/arm/emulation.rst
target/arm/cpu-param.h
target/arm/cpu64.c
target/arm/helper.c