]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: SVM: Drop VMXE check from svm_set_cr4()
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 7 Oct 2020 01:44:14 +0000 (18:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:16:21 +0000 (15:16 +0200)
commit2f04a04d06509fbba0a4069dba5d71010139d921
tree0b3445b5d2a28eac25d00ba088f54b0f044c8901
parentda7f731f2ed5b4a082567967ce74be274aab2daf
KVM: SVM: Drop VMXE check from svm_set_cr4()

[ Upstream commit 311a06593b9a3944a63ed176b95cb8d857f7c83b ]

Drop svm_set_cr4()'s explicit check CR4.VMXE now that common x86 handles
the check by incorporating VMXE into the CR4 reserved bits, via
kvm_cpu_caps.  SVM obviously does not set X86_FEATURE_VMX.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20201007014417.29276-4-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/svm/svm.c