[GIT PULL] Second batch of KVM changes for Linux 5.20 merge window
From: Paolo Bonzini
Date: Thu Aug 11 2022 - 03:56:09 EST
Linus,
The following changes since commit 6614a3c3164a5df2b54abb0b3559f51041cf705b:
Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (2022-08-05 16:32:45 -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 19a7cc817a380f7a412d7d76e145e9e2bc47e52f:
KVM: x86/MMU: properly format KVM_CAP_VM_DISABLE_NX_HUGE_PAGES capability table (2022-08-11 02:35:37 -0400)
----------------------------------------------------------------
* Xen timer fixes
* Documentation formatting fixes
* Make rseq selftest compatible with glibc-2.35
* Fix handling of illegal LEA reg, reg
* Cleanup creation of debugfs entries
* Fix steal time cache handling bug
* Fixes for MMIO caching
* Optimize computation of number of LBRs
* Fix uninitialized field in guest_maxphyaddr < host_maxphyaddr path
----------------------------------------------------------------
Bagas Sanjaya (2):
Documentation: KVM: extend KVM_CAP_VM_DISABLE_NX_HUGE_PAGES heading underline
KVM: x86/MMU: properly format KVM_CAP_VM_DISABLE_NX_HUGE_PAGES capability table
Coleman Dietsch (2):
KVM: x86/xen: Initialize Xen timer only once
KVM: x86/xen: Stop Xen timer before changing IRQ
Gavin Shan (2):
KVM: selftests: Make rseq compatible with glibc-2.35
KVM: selftests: Use getcpu() instead of sched_getcpu() in rseq_test
Michal Luczaj (1):
KVM: x86: emulator: Fix illegal LEA handling
Mingwei Zhang (1):
KVM: x86/mmu: rename trace function name for asynchronous page fault
Oliver Upton (5):
KVM: Shove vm stats_id init into kvm_create_vm()
KVM: Shove vcpu stats_id init into kvm_vcpu_init()
KVM: Get an fd before creating the VM
KVM: Pass the name of the VM fd to kvm_create_vm_debugfs()
KVM: Actually create debugfs in kvm_create_vm()
Paolo Bonzini (3):
selftests: kvm: fix compilation
KVM: x86: revalidate steal time cache if MSR value changes
KVM: x86: do not report preemption if the steal time cache is stale
Sean Christopherson (9):
KVM: x86: Bug the VM if an accelerated x2APIC trap occurs on a "bad" reg
KVM: x86: Tag kvm_mmu_x86_module_init() with __init
KVM: x86/mmu: Fully re-evaluate MMIO caching when SPTE masks change
KVM: SVM: Disable SEV-ES support if MMIO caching is disable
KVM: x86/mmu: Add sanity check that MMIO SPTE mask doesn't overlap gen
KVM: selftests: Test all possible "invalid" PERF_CAPABILITIES.LBR_FMT vals
KVM: x86: Refresh PMU after writes to MSR_IA32_PERF_CAPABILITIES
KVM: VMX: Use proper type-safe functions for vCPU => LBRs helpers
KVM: VMX: Adjust number of LBR records for PERF_CAPABILITIES at refresh
Yu Zhang (1):
KVM: X86: avoid uninitialized 'fault.async_page_fault' from fixed-up #PF
Documentation/virt/kvm/api.rst | 10 +--
arch/x86/include/asm/kvm_host.h | 2 +-
arch/x86/kvm/emulate.c | 6 +-
arch/x86/kvm/lapic.c | 8 ++-
arch/x86/kvm/mmu.h | 2 +
arch/x86/kvm/mmu/mmu.c | 8 ++-
arch/x86/kvm/mmu/spte.c | 28 ++++++++
arch/x86/kvm/mmu/spte.h | 17 ++++-
arch/x86/kvm/svm/sev.c | 10 +++
arch/x86/kvm/svm/svm.c | 9 ++-
arch/x86/kvm/vmx/pmu_intel.c | 12 +---
arch/x86/kvm/vmx/vmx.h | 29 +++++---
arch/x86/kvm/x86.c | 13 ++--
arch/x86/kvm/xen.c | 31 +++++----
include/trace/events/kvm.h | 2 +-
tools/testing/selftests/kvm/Makefile | 7 +-
tools/testing/selftests/kvm/rseq_test.c | 58 ++++++++--------
.../selftests/kvm/x86_64/vmx_pmu_caps_test.c | 17 +++--
virt/kvm/kvm_main.c | 81 ++++++++++++----------
19 files changed, 221 insertions(+), 129 deletions(-)