[GIT PULL] KVM fixes for Linux 6.12-rc2

From: Paolo Bonzini
Date: Sun Oct 06 2024 - 06:38:30 EST


Linus,

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

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

Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2024-10-06 03:59:22 -0400)

----------------------------------------------------------------
ARM64:

* Fix pKVM error path on init, making sure we do not change critical
system registers as we're about to fail

* Make sure that the host's vector length is at capped by a value
common to all CPUs

* Fix kvm_has_feat*() handling of "negative" features, as the current
code is pretty broken

* Promote Joey to the status of official reviewer, while James steps
down -- hopefully only temporarly

x86:

* Fix compilation with KVM_INTEL=KVM_AMD=n

* Fix disabling KVM_X86_QUIRK_SLOT_ZAP_ALL when shadow MMU is in use

Selftests:

* Fix compilation on non-x86 architectures

----------------------------------------------------------------
Marc Zyngier (2):
KVM: arm64: Another reviewer reshuffle
KVM: arm64: Fix kvm_has_feat*() handling of negative features

Mark Brown (2):
KVM: arm64: Constrain the host to the maximum shared SVE VL with pKVM
KVM: selftests: Fix build on architectures other than x86_64

Paolo Bonzini (4):
KVM: x86/mmu: fix KVM_X86_QUIRK_SLOT_ZAP_ALL for shadow MMU
KVM: x86: leave kvm.ko out of the build if no vendor module is requested
x86/reboot: emergency callbacks are now registered by common KVM code
Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

Vincent Donnefort (1):
KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path

MAINTAINERS | 2 +-
arch/arm64/include/asm/kvm_host.h | 25 ++++-----
arch/arm64/kvm/hyp/include/hyp/switch.h | 2 +-
arch/arm64/kvm/hyp/nvhe/hyp-main.c | 12 +++--
arch/arm64/kvm/hyp/nvhe/pkvm.c | 6 ++-
arch/x86/include/asm/reboot.h | 4 +-
arch/x86/kernel/reboot.c | 4 +-
arch/x86/kvm/Kconfig | 9 ++--
arch/x86/kvm/Makefile | 2 +-
arch/x86/kvm/mmu/mmu.c | 60 +++++++++++++++++-----
.../kvm/memslot_modification_stress_test.c | 2 +
tools/testing/selftests/kvm/memslot_perf_test.c | 6 +++
12 files changed, 91 insertions(+), 43 deletions(-)