[GIT PULL] KVM changes for 5.17-rc7

From: Paolo Bonzini
Date: Tue Mar 01 2022 - 08:08:28 EST


Linus,

The following changes since commit 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)

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

Merge tag 'kvmarm-fixes-5.17-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2022-02-25 09:49:30 -0500)

----------------------------------------------------------------
The bigger part of the change is a revert for x86 hosts. Here the
second patch was supposed to fix the first, but in reality it was
just as broken, so both have to go.

x86 host:

* Revert incorrect assumption that cr3 changes come with preempt notifier
callbacks (they don't when static branches are changed, for example)

ARM host:

* Correctly synchronise PMR and co on PSCI CPU_SUSPEND

* Skip tests that depend on GICv3 when the HW isn't available

----------------------------------------------------------------
Mark Brown (1):
KVM: selftests: aarch64: Skip tests if we can't create a vgic-v3

Oliver Upton (1):
KVM: arm64: Don't miss pending interrupts for suspended vCPU

Paolo Bonzini (1):
Merge tag 'kvmarm-fixes-5.17-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

Sean Christopherson (2):
Revert "KVM: VMX: Save HOST_CR3 in vmx_set_host_fs_gs()"
Revert "KVM: VMX: Save HOST_CR3 in vmx_prepare_switch_to_guest()"

arch/arm64/kvm/psci.c | 3 +--
arch/x86/kvm/vmx/nested.c | 11 +++++++---
arch/x86/kvm/vmx/vmx.c | 28 ++++++++++++++----------
arch/x86/kvm/vmx/vmx.h | 5 ++---
tools/testing/selftests/kvm/aarch64/arch_timer.c | 7 +++++-
tools/testing/selftests/kvm/aarch64/vgic_irq.c | 4 ++++
tools/testing/selftests/kvm/lib/aarch64/vgic.c | 4 +++-
7 files changed, 41 insertions(+), 21 deletions(-)