]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 3 Mar 2020 02:02:35 +0000 (18:02 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:57:43 +0000 (17:57 +0100)
commit9906442b85c024015e728ef5d7f5ea7f4d846878
tree583ebc88df4fd7102350aee70369819c8b396709
parentf59e473958c6ea00eaf22de7845742f5db305cc9
KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack

Drop kvm_mmu_extended_role.cr4_la57 now that mmu_role doesn't mask off
level, which already incorporates the guest's CR4.LA57 for a shadow MMU
by querying is_la57_mode().

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c