[PATCH v2 0/1] KVM: s390: fix a newly introduced bug

Claudio Imbrenda
2025-02-26T12:37:38Z

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