target/arm: Do memory type alignment check when translation disabled
commit59754f85ed35cbd5f4bf2663ca2136c78d5b2413
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Mar 2024 20:41:09 +0000 (1 10:41 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2024 13:22:56 +0000 (5 13:22 +0000)
tree1bd9d1eb57eadc718ae8e247727419098fd453d5
parent49fa457ca5abc8c46910ec777e2c510b428a1648
target/arm: Do memory type alignment check when translation disabled

If translation is disabled, the default memory type is Device, which
requires alignment checking.  This is more optimally done early via
the MemOp given to the TCG memory operation.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reported-by: Idan Horowitz <idan.horowitz@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240301204110.656742-6-richard.henderson@linaro.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1204
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/hflags.c