[GIT PULL] More x86 KVM fixes for Linux 5.15-rc7

From: Paolo Bonzini
Date: Fri Oct 22 2021 - 13:00:45 EST


Linus,

The following changes since commit 9f1ee7b169afbd10c3ad254220d1b37beb5798aa:

KVM: SEV-ES: reduce ghcb_sa_len to 32 bits (2021-10-18 14:07:19 -0400)

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 95e16b4792b0429f1933872f743410f00e590c55:

KVM: SEV-ES: go over the sev_pio_data buffer in multiple passes if needed (2021-10-22 10:09:13 -0400)

----------------------------------------------------------------
* Cache coherency fix for SEV live migration
* Fix for instruction emulation with PKU
* fixes for rare delaying of interrupt delivery
* fix for SEV-ES buffer overflow

----------------------------------------------------------------
Chenyi Qiang (1):
KVM: MMU: Reset mmu->pkru_mask to avoid stale data

Masahiro Kozuka (1):
KVM: SEV: Flush cache on non-coherent systems before RECEIVE_UPDATE_DATA

Paolo Bonzini (9):
KVM: x86: check for interrupts before deciding whether to exit the fast path
KVM: nVMX: promptly process interrupts delivered while in guest mode
KVM: SEV-ES: rename guest_ins_data to sev_pio_data
KVM: x86: leave vcpu->arch.pio.count alone in emulator_pio_in_out
KVM: SEV-ES: clean up kvm_sev_es_ins/outs
KVM: x86: split the two parts of emulator_pio_in
KVM: x86: remove unnecessary arguments from complete_emulator_pio_in
KVM: SEV-ES: keep INS functions together
KVM: SEV-ES: go over the sev_pio_data buffer in multiple passes if needed

arch/x86/include/asm/kvm_host.h | 3 +-
arch/x86/kvm/mmu/mmu.c | 6 +-
arch/x86/kvm/svm/sev.c | 7 ++
arch/x86/kvm/vmx/vmx.c | 17 ++---
arch/x86/kvm/x86.c | 150 +++++++++++++++++++++++++++-------------
5 files changed, 121 insertions(+), 62 deletions(-)