target/arm: Add MTE bits to tb_flags
commit81ae05fa2d21ac1a0054935b74342aa38a5ecef7
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 26 Jun 2020 03:31:06 +0000 (25 20:31 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jun 2020 13:31:12 +0000 (26 14:31 +0100)
treeff3b26bce99f0594f02d987155432a402e16143d
parent4b779cebb3e5ab30b945181f1ba3932f5f8a1cb5
target/arm: Add MTE bits to tb_flags

Cache the composite ATA setting.

Cache when MTE is fully enabled, i.e. access to tags are enabled
and tag checks affect the PE.  Do this for both the normal context
and the UNPRIV context.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200626033144.790098-9-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c
target/arm/internals.h
target/arm/translate-a64.c
target/arm/translate.h