mirror-linux/arch/s390/kvm
Claudio Imbrenda 3ffe5eb4a5 KVM: s390: vsie: Fix races with partial gmap invalidations
Introduce a new boolean flag, used for shadow gmaps, to keep track of
whether the gmap has been invalidated, either partially or totally.

Use the new flag to check whether shadow gmap invalidations happened
during shadowing. In such cases, abort whatever was going on, return
-EAGAIN and let the caller try again.

Fixes: 19d6c5b804 ("KVM: s390: vsie: Fix unshadowing while shadowing")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260407161721.247044-1-imbrenda@linux.ibm.com>
2026-04-07 18:20:58 +02:00
..
Kconfig KVM: remove CONFIG_KVM_GENERIC_MMU_NOTIFIER 2026-02-28 15:31:35 +01:00
Makefile KVM: s390: Switch to new gmap 2026-02-04 17:00:10 +01:00
dat.c KVM: s390: Fix gmap_link() 2026-03-26 16:12:13 +01:00
dat.h KVM: s390: Correctly handle guest mappings without struct page 2026-03-26 16:12:18 +01:00
diag.c KVM: s390: Switch to new gmap 2026-02-04 17:00:10 +01:00
faultin.c KVM: s390: Add helper functions for fault handling 2026-02-04 17:00:09 +01:00
faultin.h KVM: s390: Add helper functions for fault handling 2026-02-04 17:00:09 +01:00
gaccess.c KVM: s390: vsie: Fix races with partial gmap invalidations 2026-04-07 18:20:58 +02:00
gaccess.h KVM: s390: Switch to new gmap 2026-02-04 17:00:10 +01:00
gmap.c KVM: s390: vsie: Fix races with partial gmap invalidations 2026-04-07 18:20:58 +02:00
gmap.h KVM: s390: vsie: Fix races with partial gmap invalidations 2026-04-07 18:20:58 +02:00
guestdbg.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
intercept.c KVM: s390: Switch to new gmap 2026-02-04 17:00:10 +01:00
interrupt.c KVM: s390: log machine checks more aggressively 2026-03-16 16:56:39 +01:00
kvm-s390.c KVM: s390: Fix KVM_S390_VCPU_FAULT ioctl 2026-03-26 16:12:38 +01:00
kvm-s390.h KVM: s390: Switch to new gmap 2026-02-04 17:00:10 +01:00
pci.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
pci.h KVM: s390: Mark __kvm_s390_init() and its descendants as __init 2022-12-29 15:41:22 -05:00
priv.c KVM: s390: Switch to new gmap 2026-02-04 17:00:10 +01:00
pv.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sigp.c KVM: s390: Refactor kvm_is_error_gpa() into kvm_is_gpa_in_memslot() 2024-02-20 07:37:45 -08:00
trace-s390.h KVM: s390: Don't use %pK through tracepoints 2025-03-17 08:55:46 +00:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vsie.c KVM: s390: vsie: Fix refcount overflow for shadow gmaps 2026-03-26 16:12:25 +01:00