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

If translation is enabled, and the PTE memory type is Device,
enable checking alignment via TLB_CHECK_ALIGNMENT.  While the
check is done later than it should be per the ARM, it's better
than not performing the check at all.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240301204110.656742-7-richard.henderson@linaro.org
[PMM: tweaks to comment text]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c