]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: MMU: record maximum physical address width in kvm_mmu_extended_role"
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:56:53 +0000 (10:56 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:36 +0000 (18:00 -0400)
commiteb238861decd8b1f6749f2edc42180c08b8185a1
tree770502bacf7259fcf64238fa7f5595eba5f88d50
parent5ee46e657560722a79f3aa593cbb81a563a402b6
Revert "KVM: MMU: record maximum physical address width in kvm_mmu_extended_role"

Drop MAXPHYADDR from mmu_role now that all MMUs have their role
invalidated after a CPUID update.  Invalidating the role forces all MMUs
to re-evaluate the guest's MAXPHYADDR, and the guest's MAXPHYADDR can
only be changed only through a CPUID update.

This reverts commit 7cc0fab5d37d483fa4981ddd14fc2508dd0c4110.

Cc: Yu Zhang <yu.c.zhang@linux.intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c