]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: s390: vsie: retry SIE when unable to get vsie_page
authorEric Farman <farman@linux.ibm.com>
Wed, 17 Dec 2025 03:01:07 +0000 (04:01 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 19 Jan 2026 15:12:02 +0000 (16:12 +0100)
commit929fde5e8457ac9af0ab63b59009102de4a08704
tree4e33c55dc14004d6c70d9bf5a7f40ec8aa1fae8a
parent9448598b22c50c8a5bb77a9103e2d49f134c9578
KVM: s390: vsie: retry SIE when unable to get vsie_page

SIE may exit because of pending host work, such as handling an interrupt,
in which case VSIE rewinds the guest PSW such that it is transparently
resumed (see Fixes tag). Unlike those other places that return rc=0, this
return leaves the guest PSW in place, requiring the guest to handle a
spurious intercept. This showed up when testing heavy I/O workloads,
when multiple vcpus attempted to dispatch the same SIE block and incurred
failures inserting them into the radix tree.

Fixes: 33a729a1770b ("KVM: s390: vsie: retry SIE instruction on host intercepts")
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
[frankja@linux.ibm.com: Replaced commit message as agreed on the list]
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
arch/s390/kvm/vsie.c