]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: leave the A20 bit set in the final NPT walk
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Dec 2023 08:48:35 +0000 (09:48 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 28 Feb 2024 18:19:03 +0000 (21:19 +0300)
commitdecafac46bec616add565fcfa71ce0184850f79b
tree64c68e06732bebabfb0e79dad297094444f3a6ee
parent6801a20ebd0e541f45855665a75571d4d24188a0
target/i386: leave the A20 bit set in the final NPT walk

The A20 mask is only applied to the final memory access.  Nested
page tables are always walked with the raw guest-physical address.

Unlike the previous patch, in this one the masking must be kept, but
it was done too early.

Cc: qemu-stable@nongnu.org
Fixes: 4a1e9d4d11c ("target/i386: Use atomic operations for pte updates", 2022-10-18)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit b5a9de3259f4c791bde2faff086dd5737625e41e)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/i386/tcg/sysemu/excp_helper.c