target/arm: Advertise support for FEAT_TTL
commitf81c60c24497e912d2fcf9d250c6f3de01db68b9
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Apr 2022 16:04:20 +0000 (26 17:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Apr 2022 12:59:23 +0000 (28 13:59 +0100)
tree0cf8ccad8f2b04a91800987e6f4e43f3ef53b329
parent264a3b2eba3381980d17f23a7374edac691fd39a
target/arm: Advertise support for FEAT_TTL

The Arm FEAT_TTL architectural feature allows the guest to provide an
optional hint in an AArch64 TLB invalidate operation about which
translation table level holds the leaf entry for the address being
invalidated.  QEMU's TLB implementation doesn't need that hint, and
we correctly ignore the (previously RES0) bits in TLB invalidate
operation values that are now used for the TTL field.  So we can
simply advertise support for it in our 'max' CPU.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220426160422.2353158-2-peter.maydell@linaro.org
docs/system/arm/emulation.rst
target/arm/cpu64.c