[GIT PULL] KVM changes for 5.17-rc6

From: Paolo Bonzini
Date: Thu Feb 24 2022 - 15:08:50 EST


Linus,

The following changes since commit 710c476514313c74045c41c0571bb5178fd16e3d:

KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW (2022-02-14 07:44:51 -0500)

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 e910a53fb4f20aa012e46371ffb4c32c8da259b4:

KVM: x86: nSVM: disallow userspace setting of MSR_AMD64_TSC_RATIO to non default value when tsc scaling disabled (2022-02-24 13:04:47 -0500)

----------------------------------------------------------------
x86 host:

* Expose KVM_CAP_ENABLE_CAP since it is supported

* Disable KVM_HC_CLOCK_PAIRING in TSC catchup mode

* Ensure async page fault token is nonzero

* Fix lockdep false negative

* Fix FPU migration regression from the AMX changes

x86 guest:

* Don't use PV TLB/IPI/yield on uniprocessor guests

PPC:
* reserve capability id (topic branch for ppc/kvm)

----------------------------------------------------------------
Aaron Lewis (1):
KVM: x86: Add KVM_CAP_ENABLE_CAP to x86

Anton Romanov (1):
kvm: x86: Disable KVM_HC_CLOCK_PAIRING if tsc is in always catchup mode

Leonardo Bras (3):
x86/kvm/fpu: Limit guest user_xfeatures to supported bits of XCR0
x86/kvm/fpu: Remove kvm_vcpu_arch.guest_supported_xcr0
x86/kvm: Fix compilation warning in non-x86_64 builds

Liang Zhang (1):
KVM: x86/mmu: make apf token non-zero to fix bug

Maxim Levitsky (1):
KVM: x86: nSVM: disallow userspace setting of MSR_AMD64_TSC_RATIO to non default value when tsc scaling disabled

Nicholas Piggin (1):
KVM: PPC: reserve capability 210 for KVM_CAP_PPC_AIL_MODE_3

Paolo Bonzini (1):
Merge branch 'kvm-ppc-cap-210' into kvm-master

Wanpeng Li (2):
KVM: Fix lockdep false negative during host resume
x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU

Documentation/virt/kvm/api.rst | 16 +++++++++++++++-
arch/x86/include/asm/kvm_host.h | 1 -
arch/x86/kernel/fpu/xstate.c | 5 ++++-
arch/x86/kernel/kvm.c | 9 ++++++---
arch/x86/kvm/cpuid.c | 5 ++++-
arch/x86/kvm/mmu/mmu.c | 13 ++++++++++++-
arch/x86/kvm/svm/svm.c | 19 +++++++++++++++++--
arch/x86/kvm/x86.c | 30 +++++++++++++++++++++++++-----
include/uapi/linux/kvm.h | 1 +
tools/include/uapi/linux/kvm.h | 1 +
virt/kvm/kvm_main.c | 4 +---
11 files changed, 86 insertions(+), 18 deletions(-)