[GIT PULL] KVM patches for Linux 6.1-rc2

From: Paolo Bonzini
Date: Sun Oct 23 2022 - 13:43:45 EST


Linus,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -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 9aec606c1609a5da177b579475a73f6c948e034a:

tools: include: sync include/api/linux/kvm.h (2022-10-22 07:54:19 -0400)

----------------------------------------------------------------
RISC-V:

- Fix compilation without RISCV_ISA_ZICBOM

- Fix kvm_riscv_vcpu_timer_pending() for Sstc

ARM:

- Fix a bug preventing restoring an ITS containing mappings
for very large and very sparse device topology

- Work around a relocation handling error when compiling
the nVHE object with profile optimisation

- Fix for stage-2 invalidation holding the VM MMU lock
for too long by limiting the walk to the largest
block mapping size

- Enable stack protection and branch profiling for VHE

- Two selftest fixes

x86:

- add compat implementation for KVM_X86_SET_MSR_FILTER ioctl

selftests:

- synchronize includes between include/uapi and tools/include/uapi

----------------------------------------------------------------

As a heads up, next week I will have a relatively large pull
request in number of patches, with a series fixing various issues in
virt/kvm/pfncache.c.

Paolo

Alexander Graf (3):
kvm: Add support for arch compat vm ioctls
KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER

Andrew Jones (1):
RISC-V: Fix compilation without RISCV_ISA_ZICBOM

Anup Patel (1):
RISC-V: KVM: Fix kvm_riscv_vcpu_timer_pending() for Sstc

Denis Nikitin (1):
KVM: arm64: nvhe: Fix build with profile optimization

Eric Ren (1):
KVM: arm64: vgic: Fix exit condition in scan_its_table()

Gavin Shan (1):
KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test

Oliver Upton (2):
KVM: arm64: Work out supported block level at compile time
KVM: arm64: Limit stage2_apply_range() batch size to largest block

Paolo Bonzini (4):
Merge tag 'kvmarm-fixes-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
Merge tag 'kvmarm-fixes-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
Merge tag 'kvm-riscv-fixes-6.1-1' of https://github.com/kvm-riscv/linux into HEAD
tools: include: sync include/api/linux/kvm.h

Vincent Donnefort (1):
KVM: arm64: Enable stack protection and branch profiling for VHE

Zenghui Yu (1):
KVM: arm64: selftests: Fix multiple versions of GIC creation

arch/arm64/include/asm/kvm_pgtable.h | 18 +++--
arch/arm64/include/asm/stage2_pgtable.h | 20 -----
arch/arm64/kvm/hyp/Makefile | 5 +-
arch/arm64/kvm/hyp/nvhe/Makefile | 7 ++
arch/arm64/kvm/mmu.c | 9 ++-
arch/arm64/kvm/vgic/vgic-its.c | 5 +-
arch/riscv/include/asm/cacheflush.h | 8 --
arch/riscv/include/asm/kvm_vcpu_timer.h | 1 +
arch/riscv/kvm/vcpu.c | 3 +
arch/riscv/kvm/vcpu_timer.c | 17 ++++-
arch/riscv/mm/cacheflush.c | 38 ++++++++++
arch/riscv/mm/dma-noncoherent.c | 41 ----------
arch/x86/kvm/x86.c | 87 ++++++++++++++++++----
include/linux/kvm_host.h | 2 +
tools/include/uapi/linux/kvm.h | 1 +
tools/testing/selftests/kvm/aarch64/vgic_init.c | 4 +-
.../kvm/memslot_modification_stress_test.c | 2 +-
virt/kvm/kvm_main.c | 11 +++
18 files changed, 180 insertions(+), 99 deletions(-)