aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-10-24 15:18:51 +1000
committerPeter Maydell <peter.maydell@linaro.org>2022-10-27 11:34:31 +0100
commitc8d6c286ab4bff1c5ff511f3e834fb2a713d65d2 (patch)
tree5d419aef59422a08a3cbf84284cb21db4c0b3cdd /include/hw
parent65c123fdf577413a7d910e6b07c10e79d118041f (diff)
downloadqemu-c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2.zip
qemu-c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2.tar.gz
qemu-c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2.tar.bz2
target/arm: Use the max page size in a 2-stage ptw
We had only been reporting the stage2 page size. This causes problems if stage1 is using a larger page size (16k, 2M, etc), but stage2 is using a smaller page size, because cputlb does not set large_page_{addr,mask} properly. Fix by using the max of the two page sizes. Reported-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20221024051851.3074715-15-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions