KVM/arm64 changes for 7.3, take #2

- Invalidate the ITS translation cache when the guest changes the
    base address of the ITS tables (Fuad Tabba)
 
  - Skip saving ITS devices with device IDs that are out-of-bounds
    rather than failing the entire ITS save ioctl (Fuad Tabba)
 
  - Close race between VM teardown and invalidations of nested MMUs
    when handling MMU operations that are allowed to block
    (Lorenzo Stoakes)
 
  - Various fixes for the handling of the host's untrusted SVE
    configuration in pKVM (Fuad Tabba)
 
  - Make sure that empty SMCCC ranges based at 0 are rejected by the
    kvm_smccc_set_filter() (Karl Mehltretter)
 
  - Revoke the host mapping for pKVM's private stack pages, along
    with a new sanity check that all mappings in the hyp's private
    VA range have been correctly marked as hyp-owned (Fuad Tabba)
 
  - Lifetime fixes for the array of shadow stage-2 MMUs, ensuring that
    concurrent vCPU initialization cannot relocate in-use MMUs. Defer
    the freeing of shadow stage-2 MMUs to the point that no other users
    (e.g. MMU notifier) could reference them (Marc Zyngier)
 
  - Drop useless WARN when rejecting an unsupported ioctl for pKVM
    (Fuad Tabba)
 
  - Fix the steal_time selftest to install correctly-sized mappings for
    non-4K hosts (Sebastian Ott)
 
  - Correct mapping of fine-grained trap for GCSPOPX instruction
    (Mark Brown)
 
  - Fix KVM_BUG_ON() due to missing handling of DBGBXVR<n> from 32-bit
    guests (Karl Mehltretter)
 -----BEGIN PGP SIGNATURE-----
 
 iI0EABYKADUWIQSNXHjWXuzMZutrKNKivnWIJHzdFgUCaq7S2hccb2xpdmVyLnVw
 dG9uQGxpbnV4LmRldgAKCRCivnWIJHzdFuyFAPwMTw52duiQXiJd2MLUe7qndEWW
 s5vcAPDZIdDOWY4HewD/Xh7j5EwanNDM2DDXvdrgjnsTrwsJBW2ULIBKS6lvOA4=
 =fF21
 -----END PGP SIGNATURE-----

Merge tag 'kvmarm-fixes-7.3-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

KVM/arm64 changes for 7.3, take #2

 - Invalidate the ITS translation cache when the guest changes the
   base address of the ITS tables (Fuad Tabba)

 - Skip saving ITS devices with device IDs that are out-of-bounds
   rather than failing the entire ITS save ioctl (Fuad Tabba)

 - Close race between VM teardown and invalidations of nested MMUs
   when handling MMU operations that are allowed to block
   (Lorenzo Stoakes)

 - Various fixes for the handling of the host's untrusted SVE
   configuration in pKVM (Fuad Tabba)

 - Make sure that empty SMCCC ranges based at 0 are rejected by the
   kvm_smccc_set_filter() (Karl Mehltretter)

 - Revoke the host mapping for pKVM's private stack pages, along
   with a new sanity check that all mappings in the hyp's private
   VA range have been correctly marked as hyp-owned (Fuad Tabba)

 - Lifetime fixes for the array of shadow stage-2 MMUs, ensuring that
   concurrent vCPU initialization cannot relocate in-use MMUs. Defer
   the freeing of shadow stage-2 MMUs to the point that no other users
   (e.g. MMU notifier) could reference them (Marc Zyngier)

 - Drop useless WARN when rejecting an unsupported ioctl for pKVM
   (Fuad Tabba)

 - Fix the steal_time selftest to install correctly-sized mappings for
   non-4K hosts (Sebastian Ott)

 - Correct mapping of fine-grained trap for GCSPOPX instruction
   (Mark Brown)

 - Fix KVM_BUG_ON() due to missing handling of DBGBXVR<n> from 32-bit
   guests (Karl Mehltretter)
This commit is contained in:
Paolo Bonzini 2026-09-21 06:09:47 -04:00
commit ec2ee09cb9
1325 changed files with 18430 additions and 7498 deletions

Some files were not shown because too many files have changed in this diff Show more