Skip to contentSkip to conversation

KVM changes for Linux 5.12-rc6

GIT PULL Merged Paolo Bonzini 2 participants 2 messages Apr 1, 2021 KVM

lore
Share & tools
lore

Paolo Bonzini

author maintainer
#0 lore raw

Linus,

The following changes since commit a5e13c6df0e41702d2b2c77c8ad41677ebb065b3:

Linux 5.12-rc5 (2021-03-28 15:48:16 -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 55626ca9c6909d077eca71bccbe15fef6e5ad917:

selftests: kvm: Check that TSC page value is small after KVM_SET_CLOCK(0) (2021-04-01 05:14:19 -0400)

It's a bit larger than I (and probably you) would like by the time we get to -rc6, but perhaps not entirely unexpected since the changes in the last merge window were larger than usual.

The SVM fixes will cause conflicts in the next merge window, but I have already tried a merge and just keeping the "new" (5.13) code will be fine.

During the merge window I mentioned that I was considering a switch of the default MMU around 5.12-rc3. However, I am not going to do this until at least 5.13.

----------------------------------------------------------------
x86:

* Fixes for missing TLB flushes with TDP MMU

* Fixes for race conditions in nested SVM

* Fixes for lockdep splat with Xen emulation

* Fix for kvmclock underflow

* Fix srcdir != builddir builds

* Other small cleanups

ARM:
* Fix GICv3 MMIO compatibility probing

* Prevent guests from using the ARMv8.4 self-hosted tracing extension

----------------------------------------------------------------
Dongli Zhang (1):
KVM: x86: remove unused declaration of kvm_write_tsc()

Haiwei Li (1):
KVM: clean up the unused argument

Marc Zyngier (1):
KVM: arm64: Fix CPU interface MMIO compatibility detection

Paolo Bonzini (7):
Merge tag 'kvmarm-fixes-5.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD Merge commit 'kvm-tdp-fix-flushes' into kvm-master
KVM: SVM: load control fields from VMCB12 before checking them
KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit Merge branch 'kvm-fix-svm-races' into kvm-master
KVM: x86: reduce pvclock_gtod_sync_lock critical sections
KVM: x86: disable interrupts while pvclock_gtod_sync_lock is taken

Sean Christopherson (3):
KVM: x86/mmu: Ensure TLBs are flushed when yielding during GFN range zap
KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping
KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages

Siddharth Chandrasekaran (1):
KVM: make: Fix out-of-source module builds

Stefan Raspl (1):
tools/kvm_stat: Add restart delay

Suzuki K Poulose (2):
KVM: arm64: Hide system instruction access to Trace registers
KVM: arm64: Disable guest access to trace filter controls

Vitaly Kuznetsov (4):
KVM: x86/vPMU: Forbid writing to MSR_F15H_PERF MSRs when guest doesn't have X86_FEATURE_PERFCTR_CORE
selftests: kvm: make hardware_disable_test less verbose
KVM: x86: Prevent 'hv_clock->system_time' from going negative in kvm_guest_time_update()
selftests: kvm: Check that TSC page value is small after KVM_SET_CLOCK(0)

 arch/arm64/include/asm/kvm_arm.h                   |  1 +
 arch/arm64/kernel/cpufeature.c                     |  1 -
 arch/arm64/kvm/debug.c                             |  2 +
 arch/arm64/kvm/hyp/vgic-v3-sr.c                    |  9 ++++
 arch/x86/kvm/Makefile                              |  2 +-
 arch/x86/kvm/mmu/mmu.c                             |  9 ++--
 arch/x86/kvm/mmu/tdp_mmu.c                         | 26 +++++-----
 arch/x86/kvm/mmu/tdp_mmu.h                         | 24 ++++++++-
 arch/x86/kvm/svm/nested.c                          | 28 +++++++++--
 arch/x86/kvm/svm/pmu.c                             |  8 +++
 arch/x86/kvm/x86.c                                 | 57 ++++++++++++++--------
 arch/x86/kvm/x86.h                                 |  1 -
 tools/kvm/kvm_stat/kvm_stat.service                |  1 +
 .../testing/selftests/kvm/hardware_disable_test.c  | 10 ++--
 tools/testing/selftests/kvm/x86_64/hyperv_clock.c  | 13 ++++-
 15 files changed, 139 insertions(+), 53 deletions(-)