Skip to content

KVM: s390: Misc bugfixes for 7.4

Claudio Imbrenda kvm linux-s390 6 versions – Applied

Status from this message: queued for kvms390/master. thank you

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 6 repliesApplied
  2. v57 patches 0 repliesSuperseded
  3. v47 patches 13 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches0 repliesSuperseded
v210 patches3 repliesSuperseded
v110 patches0 repliesSuperseded

Changes in v6 from the cover letter

* drop the last two patches, as they need more thought
* add comments in patch 1
* remove spurious kvm_vcpu_mapped() check
* pick up some acks and r-bs

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: s390: Fix UCONTROL inconsistenciesarch/s390/kvm/gmap/dat.h arch/s390/kvm/gmap/gmap.c+47 -291 reply
2/5KVM: s390: Move some skey functions to headersarch/s390/kvm/gmap/dat.c arch/s390/kvm/gmap/dat.h+26 -261 reply
3/5KVM: s390: Fix idte_crste() clobber and table typearch/s390/kvm/gmap/dat.h+4 -21 reply
4/5KVM: s390: Improve unmapping of large rangesarch/s390/kvm/gmap/gmap.c+125 -111 reply
5/5KVM: s390: vsie: Fix pinning using the wrong flagarch/s390/kvm/s390/vsie.c+47 -861 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJanosch FrankChristian Borntraeger
1/5A-b
2/5R-b R-b
3/5R-b R-b
4/5A-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/5] KVM: s390: Misc bugfixes for 7.4

Misc bugfixes.

Some Fixes tags are approximate, since the bugs arise from slow changes behind the scenes in the kernel, and not from an actual bug at the moment of the introduction of the original code.

v5->v6:
* drop the last two patches, as they need more thought
* add comments in patch 1
* remove spurious kvm_vcpu_mapped() check
* pick up some acks and r-bs

v4->v5:
* fix check gmap_unmap_gfn_range_fast()
* refactor and rename the function to enable cmma, now have a lockless version called gmap_enable_cmm_already_locked() and a wrapper called gmap_enable_cmm() that performs the locking
* fix missing DAT_WALK_USES_SKEYS flag
* fix some comments

v3->v4:
* oops! some stuff removed in the previous iteration was actually needed
* improve patch descriptions
* fix idte_crste() clobber and table type (partially picked from v2)
* s/IPTE_GUEST_ASCE/IDTE_GUEST_ASCE/ when using idte_crste()
* improve comments in gmap_unmap_gfn_range()
* do not attempt unmapping prefixes if the unmap range is above 2G
* remove useless !hpa check in pin_blocks()
* fix cmma issue when using large pages that caused the whole guest memory to be allocated

v2->v3:
* remove all non-bugfix patches
* rebase onto master

v1->v2:
* add "memory" clobber to idte_crste()
* remove superflouos gpa parameter for unpin_scb()
* clear the zero bit in the PGSTE when unmapping, add missing barrier

Claudio Imbrenda (5):
KVM: s390: Fix UCONTROL inconsistencies
KVM: s390: Move some skey functions to headers
KVM: s390: Fix idte_crste() clobber and table type
KVM: s390: Improve unmapping of large ranges
KVM: s390: vsie: Fix pinning using the wrong flag

 arch/s390/kvm/gmap/dat.c  |  26 ------
 arch/s390/kvm/gmap/dat.h  |  54 ++++++++++-
 arch/s390/kvm/gmap/gmap.c | 190 ++++++++++++++++++++++++++++++--------
 arch/s390/kvm/s390/vsie.c | 133 ++++++++++----------------
 4 files changed, 249 insertions(+), 154 deletions(-)
Signature · 1 line
2.56.0