[GIT PULL] KVM changes for 6.8-rc4

From: Paolo Bonzini
Date: Tue Feb 06 2024 - 13:21:42 EST


Linus,

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

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

x86/coco: Define cc_vendor without CONFIG_ARCH_HAS_CC_PLATFORM (2024-02-06 03:56:04 -0500)

This missed -rc3 due to an issue with clang compilation, which is solved by
the top commit.

----------------------------------------------------------------
x86 guest:

* Avoid false positive for check that only matters on AMD processors

x86:

* Give a hint when Win2016 might fail to boot due to XSAVES && !XSAVEC configuration

* Do not allow creating an in-kernel PIT unless an IOAPIC already exists

RISC-V:

* Allow ISA extensions that were enabled for bare metal in 6.8
(Zbc, scalar and vector crypto, Zfh[min], Zihintntl, Zvfh[min], Zfa)

S390:

* fix CC for successful PQAP instruction

* fix a race when creating a shadow page

----------------------------------------------------------------
Anup Patel (14):
RISC-V: KVM: Allow Zbc extension for Guest/VM
KVM: riscv: selftests: Add Zbc extension to get-reg-list test
RISC-V: KVM: Allow scalar crypto extensions for Guest/VM
KVM: riscv: selftests: Add scaler crypto extensions to get-reg-list test
RISC-V: KVM: Allow vector crypto extensions for Guest/VM
KVM: riscv: selftests: Add vector crypto extensions to get-reg-list test
RISC-V: KVM: Allow Zfh[min] extensions for Guest/VM
KVM: riscv: selftests: Add Zfh[min] extensions to get-reg-list test
RISC-V: KVM: Allow Zihintntl extension for Guest/VM
KVM: riscv: selftests: Add Zihintntl extension to get-reg-list test
RISC-V: KVM: Allow Zvfh[min] extensions for Guest/VM
KVM: riscv: selftests: Add Zvfh[min] extensions to get-reg-list test
RISC-V: KVM: Allow Zfa extension for Guest/VM
KVM: riscv: selftests: Add Zfa extension to get-reg-list test

Christian Borntraeger (1):
KVM: s390: vsie: fix race during shadow creation

Eric Farman (1):
KVM: s390: fix cc for successful PQAP

Kirill A. Shutemov (1):
x86/kvm: Fix SEV check in sev_map_percpu_data()

Maciej S. Szmigiero (1):
KVM: x86: Give a hint when Win2016 might fail to boot due to XSAVES erratum

Nathan Chancellor (1):
x86/coco: Define cc_vendor without CONFIG_ARCH_HAS_CC_PLATFORM

Paolo Bonzini (2):
Merge tag 'kvm-s390-master-6.8-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
Merge tag 'kvm-riscv-6.8-2' of https://github.com/kvm-riscv/linux into HEAD

Tengfei Yu (1):
KVM: x86: Check irqchip mode before create PIT

arch/riscv/include/uapi/asm/kvm.h | 27 ++++++
arch/riscv/kvm/vcpu_onereg.c | 54 ++++++++++++
arch/s390/kvm/priv.c | 8 +-
arch/s390/kvm/vsie.c | 1 -
arch/s390/mm/gmap.c | 1 +
arch/x86/include/asm/coco.h | 5 +-
arch/x86/include/asm/kvm_host.h | 2 +
arch/x86/kernel/kvm.c | 3 +-
arch/x86/kvm/hyperv.c | 50 +++++++++++
arch/x86/kvm/hyperv.h | 3 +
arch/x86/kvm/x86.c | 7 ++
tools/testing/selftests/kvm/riscv/get-reg-list.c | 108 +++++++++++++++++++++++
12 files changed, 263 insertions(+), 6 deletions(-)