[GIT PULL] (Non-x86) KVM fixes for Linux 6.5-rc3

From: Paolo Bonzini
Date: Sun Jul 23 2023 - 13:06:26 EST


Linus,

The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:

Linux 6.5-rc2 (2023-07-16 15:10:37 -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 0c189708bfbfa90b458dac5f0fd4379f9a7d547e:

Merge tag 'kvm-s390-master-6.5-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2023-07-23 12:50:30 -0400)

----------------------------------------------------------------
ARM:

* Avoid pKVM finalization if KVM initialization fails

* Add missing BTI instructions in the hypervisor, fixing an early boot
failure on BTI systems

* Handle MMU notifiers correctly for non hugepage-aligned memslots

* Work around a bug in the architecture where hypervisor timer controls
have UNKNOWN behavior under nested virt.

* Disable preemption in kvm_arch_hardware_enable(), fixing a kernel BUG
in cpu hotplug resulting from per-CPU accessor sanity checking.

* Make WFI emulation on GICv4 systems robust w.r.t. preemption,
consistently requesting a doorbell interrupt on vcpu_put()

* Uphold RES0 sysreg behavior when emulating older PMU versions

* Avoid macro expansion when initializing PMU register names, ensuring
the tracepoints pretty-print the sysreg.

s390:

* Two fixes for asynchronous destroy

x86 fixes will come early next week.

----------------------------------------------------------------
Claudio Imbrenda (2):
KVM: s390: pv: simplify shutdown and fix race
KVM: s390: pv: fix index value of replaced ASCE

Marc Zyngier (3):
KVM: arm64: timers: Use CNTHCTL_EL2 when setting non-CNTKCTL_EL1 bits
KVM: arm64: Disable preemption in kvm_arch_hardware_enable()
KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption

Mostafa Saleh (1):
KVM: arm64: Add missing BTI instructions

Oliver Upton (2):
KVM: arm64: Correctly handle page aging notifiers for unaligned memslot
KVM: arm64: Correctly handle RES0 bits PMEVTYPER<n>_EL0.evtCount

Paolo Bonzini (2):
Merge tag 'kvmarm-fixes-6.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
Merge tag 'kvm-s390-master-6.5-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD

Sudeep Holla (1):
KVM: arm64: Handle kvm_arm_init failure correctly in finalize_pkvm

Xiang Chen (1):
KVM: arm64: Fix the name of sys_reg_desc related to PMU

arch/arm64/include/asm/kvm_host.h | 2 ++
arch/arm64/include/asm/kvm_pgtable.h | 26 +++++++-------------
arch/arm64/include/asm/virt.h | 1 +
arch/arm64/kvm/arch_timer.c | 6 ++---
arch/arm64/kvm/arm.c | 28 ++++++++++++++++++---
arch/arm64/kvm/hyp/hyp-entry.S | 8 ++++++
arch/arm64/kvm/hyp/nvhe/host.S | 10 ++++++++
arch/arm64/kvm/hyp/nvhe/psci-relay.c | 2 +-
arch/arm64/kvm/hyp/pgtable.c | 47 +++++++++++++++++++++++++++++-------
arch/arm64/kvm/mmu.c | 18 ++++++--------
arch/arm64/kvm/pkvm.c | 2 +-
arch/arm64/kvm/sys_regs.c | 42 ++++++++++++++++----------------
arch/arm64/kvm/vgic/vgic-v3.c | 2 +-
arch/arm64/kvm/vgic/vgic-v4.c | 7 ++++--
arch/s390/kvm/pv.c | 8 ++++--
arch/s390/mm/gmap.c | 1 +
include/kvm/arm_vgic.h | 2 +-
17 files changed, 140 insertions(+), 72 deletions(-)