[PATCH v2 0/1] KVM: s390: fix a newly introduced bug
From: Claudio Imbrenda
Date: Wed Feb 26 2025 - 07:37:47 EST
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