summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-06-15 02:33:28 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-20 13:21:30 +0300
commit70e41c31bc7776b262cd9f524df3dfc2b5869a0a (patch)
treeff90275eeb748d7f0c66c1c850fcb22f63958850 /include
parentf7384b8866b0b07f249130aa8b63135687626c5c (diff)
downloadlinux-70e41c31bc7776b262cd9f524df3dfc2b5869a0a.tar.xz
KVM: x86/mmu: Use common logic for computing the 32/64-bit base PA mask
Use common logic for computing PT_BASE_ADDR_MASK for 32-bit, 64-bit, and EPT paging. Both PAGE_MASK and the new-common logic are supsersets of what is actually needed for 32-bit paging. PAGE_MASK sets bits 63:12 and the former GUEST_PT64_BASE_ADDR_MASK sets bits 51:12, so regardless of which value is used, the result will always be bits 31:12. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220614233328.3896033-9-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions