aboutsummaryrefslogtreecommitdiff
path: root/target/arm/internals.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-03-01 11:59:43 -1000
committerPeter Maydell <peter.maydell@linaro.org>2022-03-02 19:27:36 +0000
commitebf93ce7c07b91eecf8b00cd2218bc0be99d7f6c (patch)
treefeba9c0c20b63da946fce02b844711b89d55d52a /target/arm/internals.h
parent691f1ffdfc446acc1a9f0831fcced5012f6de52a (diff)
downloadqemu-ebf93ce7c07b91eecf8b00cd2218bc0be99d7f6c.zip
qemu-ebf93ce7c07b91eecf8b00cd2218bc0be99d7f6c.tar.gz
qemu-ebf93ce7c07b91eecf8b00cd2218bc0be99d7f6c.tar.bz2
target/arm: Fault on invalid TCR_ELx.TxSZ
Without FEAT_LVA, the behaviour of programming an invalid value is IMPLEMENTATION DEFINED. With FEAT_LVA, programming an invalid minimum value requires a Translation fault. It is most self-consistent to choose to generate the fault always. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220301215958.157011-4-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/internals.h')
-rw-r--r--target/arm/internals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/internals.h b/target/arm/internals.h
index 3f05748..ef6c25d 100644
--- a/target/arm/internals.h
+++ b/target/arm/internals.h
@@ -1055,6 +1055,7 @@ typedef struct ARMVAParameters {
bool hpd : 1;
bool using16k : 1;
bool using64k : 1;
+ bool tsz_oob : 1; /* tsz has been clamped to legal range */
} ARMVAParameters;
ARMVAParameters aa64_va_parameters(CPUARMState *env, uint64_t va,