diff options
author | Richard Henderson | 2022-10-24 07:18:51 +0200 |
---|---|---|
committer | Peter Maydell | 2022-10-27 12:34:31 +0200 |
commit | c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2 (patch) | |
tree | 5d419aef59422a08a3cbf84284cb21db4c0b3cdd /hw/s390x/s390-virtio-ccw.c | |
parent | target/arm: Implement FEAT_HAFDBS, dirty bit portion (diff) | |
download | qemu-c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2.tar.gz qemu-c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2.tar.xz qemu-c8d6c286ab4bff1c5ff511f3e834fb2a713d65d2.zip |
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 'hw/s390x/s390-virtio-ccw.c')
0 files changed, 0 insertions, 0 deletions