linux/tools/testing/selftests/kvm/s390
Claudio Imbrenda 125a3d3fac KVM: s390: selftests: Fix cmma selftest
The existing cmma selftest depended on the host allocating page tables
for all present memslots. Since the gmap rewrite, memory that is not
accessed by the guest might not have page tables allocated yet.

This caused the test to fail due to a mismatch in the assertion.

Fix by having the guest access also the second half of the test
memslot, thus guaranteeing that its page tables are present.

Fixes: e38c884df9 ("KVM: s390: Switch to new gmap")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260623153331.233784-9-imbrenda@linux.ibm.com>
2026-06-24 10:08:57 +02:00
..
cmma_test.c KVM: s390: selftests: Fix cmma selftest 2026-06-24 10:08:57 +02:00
config
cpumodel_subfuncs_test.c KVM: selftests: fix minor typo in cpumodel_subfuncs 2025-08-19 10:50:59 -07:00
debug_test.c KVM: selftests: Use u64 instead of uint64_t 2026-04-20 14:54:16 -07:00
irq_routing.c KVM: selftests: Use gpa_t instead of vm_paddr_t 2026-04-20 14:54:16 -07:00
keyop.c KVM: s390: selftests: Add selftest for the KVM_S390_KEYOP ioctl 2026-02-04 17:00:10 +01:00
memop.c KVM: selftests: Drop "vaddr_" from APIs that allocate memory for a given VM 2026-04-20 14:54:17 -07:00
resets.c KVM: selftests: Use u8 instead of uint8_t 2026-04-20 14:54:17 -07:00
shared_zeropage_test.c KVM: selftests: Include sys/mman.h *and* linux/mman.h, via kvm_syscalls.h 2026-05-13 09:53:43 -07:00
sync_regs_test.c
tprot.c KVM: selftests: Include sys/mman.h *and* linux/mman.h, via kvm_syscalls.h 2026-05-13 09:53:43 -07:00
ucontrol_test.c KVM: selftests: Replace "u64 gpa" with "gpa_t" throughout 2026-04-20 14:54:17 -07:00
user_operexec.c KVM: s390: selftests: Extended user_operexec tests 2026-06-24 10:01:56 +02:00