public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] KVM: s390: fix a newly introduced bug
@ 2025-02-26 12:37 Claudio Imbrenda
  2025-02-26 12:37 ` [PATCH v2 1/1] KVM: s390: pv: fix race when making a page secure Claudio Imbrenda
  0 siblings, 1 reply; 6+ messages in thread
From: Claudio Imbrenda @ 2025-02-26 12:37 UTC (permalink / raw)
  To: kvm
  Cc: linux-kernel, linux-s390, frankja, borntraeger, david, nrb,
	seiden, nsg, schlameuss, hca

Fix race when making a page secure (hold pte lock again)

This should fix the issues I have seen, which I think/hope are also the same
issues that David found.


v1->v2:
* major refactoring
* walk the page tables only once
* when importing, manually fault in pages if needed

Claudio Imbrenda (1):
  KVM: s390: pv: fix race when making a page secure

 arch/s390/include/asm/uv.h |   2 +-
 arch/s390/kernel/uv.c      | 105 ++++++++++++++++++++++++++++++++++---
 arch/s390/kvm/gmap.c       |  99 +++-------------------------------
 arch/s390/kvm/kvm-s390.c   |  25 +++++----
 4 files changed, 121 insertions(+), 110 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-02-26 17:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26 12:37 [PATCH v2 0/1] KVM: s390: fix a newly introduced bug Claudio Imbrenda
2025-02-26 12:37 ` [PATCH v2 1/1] KVM: s390: pv: fix race when making a page secure Claudio Imbrenda
2025-02-26 15:05   ` David Hildenbrand
2025-02-26 16:58     ` Claudio Imbrenda
2025-02-26 17:01       ` David Hildenbrand
2025-02-26 17:26         ` Claudio Imbrenda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox