]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Tweak order of cr0/cr4/efer writes at RESET/INIT
authorSean Christopherson <seanjc@google.com>
Tue, 13 Jul 2021 16:33:08 +0000 (09:33 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Aug 2021 15:01:55 +0000 (11:01 -0400)
commit42efefa1ab68e9895e81e09fbbb59c03ecc53525
tree79aee753223205d469c10166f12e96476e448253
parent8c8553a2048a9cdcb25c8f753fdb6f8389ff71fe
KVM: SVM: Tweak order of cr0/cr4/efer writes at RESET/INIT

Hoist svm_set_cr0() up in the sequence of register initialization during
vCPU RESET/INIT, purely to match VMX so that a future patch can move the
sequences to common x86.

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