target/arm: Disable clean_data_tbi for system mode
commit38d931687fa196a7ef860f8583815abc7fd5521a
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 8 Mar 2020 01:29:46 +0000 (7 17:29 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Mar 2020 16:01:38 +0000 (12 16:01 +0000)
treead3f4a3bc97c49c90fab093af661f31125ee667e
parentcebfb64859284c3c451d14564fdd22546c48696e
target/arm: Disable clean_data_tbi for system mode

We must include the tag in the FAR_ELx register when raising
an addressing exception.  Which means that we should not clear
out the tag during translation.

We cannot at present comply with this for user mode, so we
retain the clean_data_tbi function for the moment, though it
no longer does what it says on the tin for system mode.  This
function is to be replaced with MTE, so don't worry about the
slight misnaming.

Buglink: https://bugs.launchpad.net/qemu/+bug/1867072
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200308012946.16303-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c