]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Don't grab CR4.PSE for calculating shadow reserved bits
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:14 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:42 +0000 (18:00 -0400)
commit5d9b287a34758b69afa6e8321d5e3c19fe05964e
tree39b2ab6ca361998d5503bf686f8b17ec779c796a
parent62faf4dc95f4535db810fa7e427be7d260daa317
KVM: x86/mmu: Don't grab CR4.PSE for calculating shadow reserved bits

Unconditionally pass pse=false when calculating reserved bits for shadow
PTEs.  CR4.PSE is only relevant for 32-bit non-PAE paging, which KVM does
not use for shadow paging (including nested NPT).

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-30-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c