[GIT PULL] KVM changes for Linux 6.14-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus,

The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:

  Linux 6.14-rc1 (2025-02-02 15:39:26 -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 43fb96ae78551d7bfa4ecca956b258f085d67c40:

  KVM: x86/mmu: Ensure NX huge page recovery thread is alive before waking (2025-02-04 11:28:21 -0500)

One thing that stands out here is an s390 cleanup to the page table
management code, which is quite different from everyone else's in
KVM land.  This came in a bit late due to the holidays and I initially
wanted to hold it until 6.15; on the other hand it would block some
of the page descriptor work due to how KVM/s390 used page->index and
page->lru for its own stuff; so, here it is.  The rest is bugfixes,
mostly ARM.

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

* Correctly clean the BSS to the PoC before allowing EL2 to access it
  on nVHE/hVHE/protected configurations

* Propagate ownership of debug registers in protected mode after
  the rework that landed in 6.14-rc1

* Stop pretending that we can run the protected mode without a GICv3
  being present on the host

* Fix a use-after-free situation that can occur if a vcpu fails to
  initialise the NV shadow S2 MMU contexts

* Always evaluate the need to arm a background timer for fully emulated
  guest timers

* Fix the emulation of EL1 timers in the absence of FEAT_ECV

* Correctly handle the EL2 virtual timer, specially when HCR_EL2.E2H==0

s390:

* move some of the guest page table (gmap) logic into KVM itself,
  inching towards the final goal of completely removing gmap from the
  non-kvm memory management code. As an initial set of cleanups, move
  some code from mm/gmap into kvm and start using __kvm_faultin_pfn()
  to fault-in pages as needed; but especially stop abusing page->index
  and page->lru to aid in the pgdesc conversion.

x86:

* Add missing check in the fix to defer starting the huge page recovery
  vhost_task

* SRSO_USER_KERNEL_NO does not need SYNTHESIZED_F

----------------------------------------------------------------
Christoph Schlameuss (1):
      KVM: s390: selftests: Streamline uc_skey test to issue iske after sske

Claudio Imbrenda (14):
      KVM: s390: wrapper for KVM_BUG
      KVM: s390: fake memslot for ucontrol VMs
      KVM: s390: selftests: fix ucontrol memory region test
      KVM: s390: move pv gmap functions into kvm
      KVM: s390: use __kvm_faultin_pfn()
      KVM: s390: get rid of gmap_fault()
      KVM: s390: get rid of gmap_translate()
      KVM: s390: move some gmap shadowing functions away from mm/gmap.c
      KVM: s390: stop using page->index for non-shadow gmaps
      KVM: s390: stop using lists to keep track of used dat tables
      KVM: s390: move gmap_shadow_pgt_lookup() into kvm
      KVM: s390: remove useless page->index usage
      KVM: s390: move PGSTE softbits
      KVM: s390: remove the last user of page->index

Colin Ian King (1):
      KVM: selftests: Fix spelling mistake "initally" -> "initially"

David Hildenbrand (4):
      KVM: s390: vsie: fix some corner-cases when grabbing vsie pages
      KVM: s390: vsie: stop using page->index
      KVM: s390: vsie: stop messing with page refcount
      KVM: s390: vsie: stop using "struct page" for vsie page

Lokesh Vutla (1):
      KVM: arm64: Flush hyp bss section after initialization of variables in bss

Marc Zyngier (4):
      KVM: arm64: Fix nested S2 MMU structures reallocation
      KVM: arm64: timer: Always evaluate the need for a soft timer
      KVM: arm64: timer: Correctly handle EL1 timer emulation when !FEAT_ECV
      KVM: arm64: timer: Don't adjust the EL2 virtual timer offset

Oliver Upton (2):
      KVM: arm64: Flush/sync debug state in protected mode
      KVM: arm64: Fail protected mode init if no vgic hardware is present

Paolo Bonzini (4):
      kvm: x86: SRSO_USER_KERNEL_NO is not synthesized
      Merge tag 'kvm-s390-next-6.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
      Merge tag 'kvmarm-fixes-6.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
      KVM: remove kvm_arch_post_init_vm

Sean Christopherson (2):
      KVM: Do not restrict the size of KVM-internal memory regions
      KVM: x86/mmu: Ensure NX huge page recovery thread is alive before waking

 Documentation/virt/kvm/api.rst                   |   2 +-
 arch/arm64/kvm/arch_timer.c                      |  49 +-
 arch/arm64/kvm/arm.c                             |  20 +
 arch/arm64/kvm/hyp/nvhe/hyp-main.c               |  24 +
 arch/arm64/kvm/nested.c                          |   9 +-
 arch/arm64/kvm/sys_regs.c                        |  16 +-
 arch/s390/include/asm/gmap.h                     |  20 +-
 arch/s390/include/asm/kvm_host.h                 |   6 +-
 arch/s390/include/asm/pgtable.h                  |  21 +-
 arch/s390/include/asm/uv.h                       |   6 +-
 arch/s390/kernel/uv.c                            | 292 +---------
 arch/s390/kvm/Makefile                           |   2 +-
 arch/s390/kvm/gaccess.c                          |  44 +-
 arch/s390/kvm/gmap-vsie.c                        | 142 +++++
 arch/s390/kvm/gmap.c                             | 212 +++++++
 arch/s390/kvm/gmap.h                             |  39 ++
 arch/s390/kvm/intercept.c                        |   7 +-
 arch/s390/kvm/interrupt.c                        |  19 +-
 arch/s390/kvm/kvm-s390.c                         | 237 ++++++--
 arch/s390/kvm/kvm-s390.h                         |  19 +
 arch/s390/kvm/pv.c                               |  21 +
 arch/s390/kvm/vsie.c                             | 106 ++--
 arch/s390/mm/gmap.c                              | 681 +++++------------------
 arch/s390/mm/pgalloc.c                           |   2 -
 arch/x86/kvm/cpuid.c                             |   2 +-
 arch/x86/kvm/mmu/mmu.c                           |  33 +-
 arch/x86/kvm/x86.c                               |   7 +-
 include/linux/kvm_host.h                         |   1 -
 tools/testing/selftests/kvm/s390/cmma_test.c     |   4 +-
 tools/testing/selftests/kvm/s390/ucontrol_test.c |  32 +-
 virt/kvm/kvm_main.c                              |  25 +-
 31 files changed, 1093 insertions(+), 1007 deletions(-)
 create mode 100644 arch/s390/kvm/gmap-vsie.c
 create mode 100644 arch/s390/kvm/gmap.c
 create mode 100644 arch/s390/kvm/gmap.h





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux