linux/arch/s390
Claudio Imbrenda 6f93d1ed6f KVM: s390: vsie: Fix check for pre-existing shadow mapping
When shadowing a nested guest, a check is performed and no shadowing is
attempted if the nested guest is already shadowed.

The existing check was incomplete; fix it by also checking whether the
leaf DAT table entry in the existing shadow gmap has the same protection
as the one specified in the guest DAT entry.

Fixes: e38c884df9 ("KVM: s390: Switch to new gmap")
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
2026-03-26 16:12:07 +01:00
..
appldata Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
boot s390 updates for 7.0 merge window 2026-02-09 20:17:03 -08:00
configs mm.git review status for linus..mm-nonmm-stable 2026-02-12 12:13:01 -08:00
crypto This update includes the following changes: 2026-02-10 08:36:42 -08:00
hypfs Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
include KVM: s390: Fixes for 7.0 2026-03-24 17:32:13 +01:00
kernel KVM: s390: Fixes for 7.0 2026-03-24 17:32:13 +01:00
kvm KVM: s390: vsie: Fix check for pre-existing shadow mapping 2026-03-26 16:12:07 +01:00
lib s390/xor: Improve inline assembly constraints 2026-03-03 16:42:14 +01:00
mm s390/mm: Add missing secure storage access fixups for donated memory 2026-03-16 16:56:28 +01:00
net Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pci Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
purgatory s390/purgatory: Add -Wno-default-const-init-unsafe to KBUILD_CFLAGS 2025-12-22 12:11:31 +01:00
tools s390: Add Dat-Enhancement facility 1 to architecture level set 2025-11-06 14:12:30 +01:00
Kbuild - An extensive rework of kexec and crash Kconfig from Eric DeVolder 2023-08-29 14:53:51 -07:00
Kconfig s390 fixes for 7.0 merge window 2026-02-20 09:24:45 -08:00
Kconfig.debug s390/mm: Add configurable STRICT_MM_TYPECHECKS 2025-03-11 15:27:34 +01:00
Makefile s390 updates for 6.19 merge window 2025-12-02 16:37:00 -08:00
Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved 2025-03-17 00:29:50 +09:00