[GIT PULL] KVM fixes for Linux 5.19-rc2

From: Paolo Bonzini
Date: Wed Jun 08 2022 - 11:25:05 EST


Linus,

The following changes since commit ffd1925a596ce68bed7d81c61cb64bc35f788a9d:

KVM: x86: Fix the intel_pt PMI handling wrongly considered from guest (2022-05-25 05:18:27 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

for you to fetch changes up to 6cd88243c7e03845a450795e134b488fc2afb736:

KVM: x86: do not report a vCPU as preempted outside instruction boundaries (2022-06-08 04:21:07 -0400)

----------------------------------------------------------------
* Fix syzkaller NULL pointer dereference
* Fix TDP MMU performance issue with disabling dirty logging
* Fix 5.14 regression with SVM TSC scaling
* Fix indefinite stall on applying live patches
* Fix unstable selftest
* Fix memory leak from wrong copy-and-paste
* Fix missed PV TLB flush when racing with emulation

----------------------------------------------------------------
Alexey Kardashevskiy (1):
KVM: Don't null dereference ops->destroy

Ben Gardon (1):
KVM: x86/MMU: Zap non-leaf SPTEs when disabling dirty logging

Jan Beulich (1):
x86: drop bogus "cc" clobber from __try_cmpxchg_user_asm()

Maxim Levitsky (1):
KVM: SVM: fix tsc scaling cache logic

Paolo Bonzini (2):
KVM: x86: do not set st->preempted when going back to user space
KVM: x86: do not report a vCPU as preempted outside instruction boundaries

Seth Forshee (1):
entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set

Shaoqin Huang (1):
KVM: x86/mmu: Check every prev_roots in __kvm_mmu_free_obsolete_roots()

Vitaly Kuznetsov (1):
KVM: selftests: Make hyperv_clock selftest more stable

arch/x86/include/asm/kvm_host.h | 3 ++
arch/x86/include/asm/uaccess.h | 2 +-
arch/x86/kvm/mmu/mmu.c | 2 +-
arch/x86/kvm/mmu/tdp_iter.c | 9 +++++
arch/x86/kvm/mmu/tdp_iter.h | 1 +
arch/x86/kvm/mmu/tdp_mmu.c | 38 +++++++++++++++---
arch/x86/kvm/svm/nested.c | 4 +-
arch/x86/kvm/svm/svm.c | 34 ++++++++++------
arch/x86/kvm/svm/svm.h | 2 +-
arch/x86/kvm/vmx/vmx.c | 1 +
arch/x86/kvm/x86.c | 48 +++++++++++++++++------
arch/x86/kvm/xen.h | 6 ++-
kernel/entry/kvm.c | 6 ---
tools/testing/selftests/kvm/x86_64/hyperv_clock.c | 10 +++--
virt/kvm/kvm_main.c | 5 ++-
15 files changed, 124 insertions(+), 47 deletions(-)