mbox series

[GIT,PULL] KVM fixes for Linux 6.9-rc3

Message ID 20240403130418.3068910-1-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] KVM fixes for Linux 6.9-rc3 | expand

Pull-request

https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

Message

Paolo Bonzini April 3, 2024, 1:04 p.m. UTC
Linus,

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -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 9bc60f733839ab6fcdde0d0b15cbb486123e6402:

  Merge tag 'kvm-riscv-fixes-6.9-1' of https://github.com/kvm-riscv/linux into HEAD (2024-04-02 12:29:51 -0400)

----------------------------------------------------------------
ARM:

- Ensure perf events programmed to count during guest execution
  are actually enabled before entering the guest in the nVHE
  configuration.

- Restore out-of-range handler for stage-2 translation faults.

- Several fixes to stage-2 TLB invalidations to avoid stale
  translations, possibly including partial walk caches.

- Fix early handling of architectural VHE-only systems to ensure E2H is
  appropriately set.

- Correct a format specifier warning in the arch_timer selftest.

- Make the KVM banner message correctly handle all of the possible
  configurations.

RISC-V:

- Remove redundant semicolon in num_isa_ext_regs().

- Fix APLIC setipnum_le/be write emulation.

- Fix APLIC in_clrip[x] read emulation.

x86:

- Fix a bug in KVM_SET_CPUID{2,} where KVM looks at the wrong CPUID entries (old
  vs. new) and ultimately neglects to clear PV_UNHALT from vCPUs with HLT-exiting
  disabled.

- Documentation fixes for SEV.

- Fix compat ABI for KVM_MEMORY_ENCRYPT_OP.

- Fix a 14-year-old goof in a declaration shared by host and guest; the enabled
  field used by Linux when running as a guest pushes the size of "struct
  kvm_vcpu_pv_apf_data" from 64 to 68 bytes.  This is really unconsequential
  because KVM never consumes anything beyond the first 64 bytes, but the
  resulting struct does not match the documentation.

Selftests:

- Fix spelling mistake in arch_timer selftest.

----------------------------------------------------------------
Anup Patel (2):
      RISC-V: KVM: Fix APLIC setipnum_le/be write emulation
      RISC-V: KVM: Fix APLIC in_clrip[x] read emulation

Ashish Kalra (1):
      KVM: SVM: Add support for allowing zero SEV ASIDs

Colin Ian King (2):
      KVM: selftests: Fix spelling mistake "trigged" -> "triggered"
      RISC-V: KVM: Remove second semicolon

Marc Zyngier (2):
      arm64: Fix early handling of FEAT_E2H0 not being implemented
      KVM: arm64: Rationalise KVM banner output

Oliver Upton (1):
      KVM: arm64: Fix host-programmed guest events in nVHE

Paolo Bonzini (8):
      Merge tag 'kvm-x86-svm-6.9' of https://github.com/kvm-x86/linux into HEAD
      Merge tag 'kvm-x86-asyncpf_abi-6.9' of https://github.com/kvm-x86/linux into HEAD
      KVM: SEV: fix compat ABI for KVM_MEMORY_ENCRYPT_OP
      Documentation: kvm/sev: separate description of firmware
      Documentation: kvm/sev: clarify usage of KVM_MEMORY_ENCRYPT_OP
      Merge tag 'kvm-x86-pvunhalt-6.9' of https://github.com/kvm-x86/linux into HEAD
      Merge tag 'kvmarm-fixes-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
      Merge tag 'kvm-riscv-fixes-6.9-1' of https://github.com/kvm-riscv/linux into HEAD

Sean Christopherson (4):
      KVM: SVM: Set sev->asid in sev_asid_new() instead of overloading the return
      KVM: SVM: Use unsigned integers when dealing with ASIDs
      KVM: SVM: Return -EINVAL instead of -EBUSY on attempt to re-init SEV/SEV-ES
      KVM: selftests: Fix __GUEST_ASSERT() format warnings in ARM's arch timer test

Vitaly Kuznetsov (3):
      KVM: x86: Introduce __kvm_get_hypervisor_cpuid() helper
      KVM: x86: Use actual kvm_cpuid.base for clearing KVM_FEATURE_PV_UNHALT
      KVM: selftests: Check that PV_UNHALT is cleared when HLT exiting is disabled

Will Deacon (4):
      KVM: arm64: Don't defer TLB invalidation when zapping table entries
      KVM: arm64: Don't pass a TLBI level hint when zapping table entries
      KVM: arm64: Use TLBI_TTL_UNKNOWN in __kvm_tlb_flush_vmid_range()
      KVM: arm64: Ensure target address is granule-aligned for range TLBI

Wujie Duan (1):
      KVM: arm64: Fix out-of-IPA space translation fault handling

Xiaoyao Li (2):
      x86/kvm: Use separate percpu variable to track the enabling of asyncpf
      KVM: x86: Improve documentation of MSR_KVM_ASYNC_PF_EN

 .../virt/kvm/x86/amd-memory-encryption.rst         | 42 +++++++++-------
 Documentation/virt/kvm/x86/msr.rst                 | 19 ++++---
 arch/arm64/kernel/head.S                           | 29 ++++++-----
 arch/arm64/kvm/arm.c                               | 13 ++---
 arch/arm64/kvm/hyp/nvhe/tlb.c                      |  3 +-
 arch/arm64/kvm/hyp/pgtable.c                       | 23 ++++++---
 arch/arm64/kvm/hyp/vhe/tlb.c                       |  3 +-
 arch/arm64/kvm/mmu.c                               |  2 +-
 arch/riscv/kvm/aia_aplic.c                         | 37 +++++++++++---
 arch/riscv/kvm/vcpu_onereg.c                       |  2 +-
 arch/x86/include/uapi/asm/kvm.h                    | 23 +++++++++
 arch/x86/include/uapi/asm/kvm_para.h               |  1 -
 arch/x86/kernel/kvm.c                              | 11 ++--
 arch/x86/kvm/cpuid.c                               | 44 +++++++++-------
 arch/x86/kvm/svm/sev.c                             | 58 +++++++++++++---------
 arch/x86/kvm/trace.h                               | 10 ++--
 include/kvm/arm_pmu.h                              |  2 +-
 tools/testing/selftests/kvm/aarch64/arch_timer.c   |  4 +-
 .../selftests/kvm/include/x86_64/processor.h       | 11 ++++
 tools/testing/selftests/kvm/riscv/arch_timer.c     |  2 +-
 tools/testing/selftests/kvm/x86_64/kvm_pv_test.c   | 39 +++++++++++++++
 21 files changed, 255 insertions(+), 123 deletions(-)

Comments

pr-tracker-bot@kernel.org April 3, 2024, 5:35 p.m. UTC | #1
The pull request you sent on Wed,  3 Apr 2024 09:04:18 -0400:

> https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0f099dc9d1149ceaa9319810dba44ffd06f3aef7

Thank you!