Skip to content

KVM: s390: A few misc gmap fixes.

Claudio Imbrenda kvm linux-s390 lkml stable 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v25 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Fix allocation size of struct vsie_rmap in kvm_s390_mmu_cache_topup()
* Account for the possible failure of radix_tree_preload()
* Move kvm_s390_mmu_cache_topup() inside the retry loop in _gaccess_shadow_fault(), to guarantee forward progress

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: s390: Silence potential warnings in _gmap_crstep_xchg_atomic()arch/s390/kvm/gmap.h+10 -10 replies
2/5KVM: s390: Fix unlikely race in try_get_locked_pte()arch/s390/mm/gmap_helpers.c+3 -30 replies
3/5KVM: s390: vsie: Fix allocation of struct vsie_rmaparch/s390/kvm/dat.c+1 -10 replies
4/5KVM: s390: vsie: Add missing radix_tree_preload() in _gaccess_shadow_fault()arch/s390/kvm/gaccess.c+35 -220 replies
5/5KVM: s390: vsie: Use mmu cache to allocate rmaparch/s390/kvm/gaccess.c arch/s390/kvm/gmap.c arch/s390/kvm/gmap.h+14 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] KVM: s390: A few misc gmap fixes.

A few more minor gmap fixes.

v2->v3:
* Fix allocation size of struct vsie_rmap in kvm_s390_mmu_cache_topup()
* Account for the possible failure of radix_tree_preload()
* Move kvm_s390_mmu_cache_topup() inside the retry loop in _gaccess_shadow_fault(), to guarantee forward progress

v1->v2:
* Improve suppression of __must_check, by using a pointless if instead of casting to (void)
* Fix allocation size for struct vsie_rmap in kvm_s390_mmu_cache_topup()
* Add missing radix_tree_preload() in _gaccess_shadow_fault()

Claudio Imbrenda (5):
KVM: s390: Silence potential warnings in _gmap_crstep_xchg_atomic()
KVM: s390: Fix unlikely race in try_get_locked_pte()
KVM: s390: vsie: Fix allocation of struct vsie_rmap
KVM: s390: vsie: Add missing radix_tree_preload() in
_gaccess_shadow_fault()
KVM: s390: vsie: Use mmu cache to allocate rmap

 arch/s390/kvm/dat.c         |  2 +-
 arch/s390/kvm/gaccess.c     | 73 ++++++++++++++++++++++---------------
 arch/s390/kvm/gmap.c        |  7 ++--
 arch/s390/kvm/gmap.h        | 14 ++++++-
 arch/s390/mm/gmap_helpers.c |  6 +--
 5 files changed, 63 insertions(+), 39 deletions(-)
Signature · 1 line
2.54.0