target/arm: Fix MTE0_ACTIVE
commitcc97b0019bb590b9b3c2a623e9ebee48831e0ce3
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 21 Dec 2020 20:44:26 +0000 (21 12:44 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jan 2021 15:13:38 +0000 (8 15:13 +0000)
tree327bc90b0bd675f142d2c4d891413c8fc994fc9f
parent9cd07db94b41e849dab8a547fb778718a11f487d
target/arm: Fix MTE0_ACTIVE

In 50244cc76abc we updated mte_check_fail to match the ARM
pseudocode, using the correct EL to select the TCF field.
But we failed to update MTE0_ACTIVE the same way, which led
to g_assert_not_reached().

Cc: qemu-stable@nongnu.org
Buglink: https://bugs.launchpad.net/bugs/1907137
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20201221204426.88514-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c