]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Drop explicit MMU reset at RESET/INIT
authorSean Christopherson <seanjc@google.com>
Tue, 13 Jul 2021 16:32:46 +0000 (09:32 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Aug 2021 15:01:50 +0000 (11:01 -0400)
commit23842164216e759cb35b9e4676acbe4ef0e12473
treea0694e0cc70dc75dff61835ad2e1b5ad8d6a66e5
parentd0cfc9279f4e03a1ef4ed4f3be6f0d861a4dede4
KVM: SVM: Drop explicit MMU reset at RESET/INIT

Drop an explicit MMU reset in SVM's vCPU RESET/INIT flow now that the
common x86 path correctly handles conditional MMU resets, e.g. if INIT
arrives while the vCPU is in 64-bit mode.

This reverts commit b09b9e95dbaf ("kvm: svm: reset mmu on VCPU reset").

Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210713163324.627647-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c