diff options
author | Sean Christopherson <seanjc@google.com> | 2023-07-22 00:43:37 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-07-29 17:05:27 +0200 |
commit | b439eb8ab578557263815ba8581d02c1b730e348 (patch) | |
tree | 8662838f51b8a2bd3093df9ccb5bebf98efb59fb /init | |
parent | KVM: x86: Acquire SRCU read lock when handling fastpath MSR writes (diff) | |
download | linux-b439eb8ab578557263815ba8581d02c1b730e348.tar.xz linux-b439eb8ab578557263815ba8581d02c1b730e348.zip |
Revert "KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid"
Now that handle_fastpath_set_msr_irqoff() acquires kvm->srcu, i.e. allows
dereferencing memslots during WRMSR emulation, drop the requirement that
"next RIP" is valid. In hindsight, acquiring kvm->srcu would have been a
better fix than avoiding the pastpath, but at the time it was thought that
accessing SRCU-protected data in the fastpath was a one-off edge case.
This reverts commit 5c30e8101e8d5d020b1d7119117889756a6ed713.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230721224337.2335137-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions