All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/5] KVM: s390: Misc bugfixes for 7.4
@ 2026-11-05 15:37 Claudio Imbrenda
  2026-11-05 15:37 ` [PATCH v6 1/5] KVM: s390: Fix UCONTROL inconsistencies Claudio Imbrenda
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Claudio Imbrenda @ 2026-11-05 15:37 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, borntraeger, frankja, david, nrb, schlameuss, gra

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(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-11-05 16:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 15:37 [PATCH v6 0/5] KVM: s390: Misc bugfixes for 7.4 Claudio Imbrenda
2026-11-05 15:37 ` [PATCH v6 1/5] KVM: s390: Fix UCONTROL inconsistencies Claudio Imbrenda
2026-11-05 16:20   ` sashiko-bot
2026-11-05 15:37 ` [PATCH v6 2/5] KVM: s390: Move some skey functions to headers Claudio Imbrenda
2026-11-05 16:21   ` sashiko-bot
2026-11-05 15:37 ` [PATCH v6 3/5] KVM: s390: Fix idte_crste() clobber and table type Claudio Imbrenda
2026-11-05 16:27   ` sashiko-bot
2026-11-05 15:37 ` [PATCH v6 4/5] KVM: s390: Improve unmapping of large ranges Claudio Imbrenda
2026-11-05 16:42   ` sashiko-bot
2026-11-05 15:37 ` [PATCH v6 5/5] KVM: s390: vsie: Fix pinning using the wrong flag Claudio Imbrenda
2026-11-05 16:47   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.