]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: remove shadow_memtype_mask
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Mar 2025 16:31:50 +0000 (11:31 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2025 18:20:58 +0000 (14:20 -0400)
commit3fee4837ef405597971e9486e46a92270eadae5e
treeaff62313ae027887649b26395b2683817d6c6ed2
parentc9c1e20b4c7d60fa084b3257525d21a49fe651a1
KVM: x86: remove shadow_memtype_mask

The IGNORE_GUEST_PAT quirk is inapplicable, and thus always-disabled,
if shadow_memtype_mask is zero.  As long as vmx_get_mt_mask is not
called for the shadow paging case, there is no need to consult
shadow_memtype_mask and it can be removed altogether.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/spte.c
arch/x86/kvm/mmu/spte.h
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c