linux/arch/s390/mm
Claudio Imbrenda c1edda54a0 KVM: s390: Remove ptep_zap_softleaf_entry()
Migration entries do not need to be removed.

The swap subsystem has been (and still is being) heavily reworked. The
current implementation of ptep_zap_softleaf_entry() has been slowly
modified and is now wrong, since it unconditionally calls
swap_put_entries_direct() for both swap and migration entries.

Remove ptep_zap_softleaf_entry() altogether, merge the path for proper
swap entries directly in the only caller, and ignore migration entries.

Fixes: 200197908d ("KVM: s390: Refactor and split some gmap helpers")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260602142356.169458-11-imbrenda@linux.ibm.com>
History 2026-06-02 19:31:20 +02:00
..
cmm.c s390/cmm: Replace sprintf() with scnprintf() for buffer safety 2025-10-21 10:17:20 +02:00
dump_pagetables.c s390 updates for 6.19 merge window 2025-12-02 16:37:00 -08:00
extable.c s390/uaccess: Shorten raw_copy_from_user() / raw_copy_to_user() inline assemblies 2025-03-04 17:18:03 +01:00
extmem.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fault.c s390/mm: Fix phys_to_folio() usage in do_secure_storage_access() 2026-04-28 14:45:03 +02:00
gmap_helpers.c KVM: s390: Remove ptep_zap_softleaf_entry() 2026-06-02 19:31:20 +02:00
hugetlbpage.c Loongarch: 2026-02-13 11:31:15 -08:00
init.c mm: cache struct page for empty_zero_page and return it from ZERO_PAGE() 2026-04-05 13:53:01 -07:00
maccess.c s390: Remove superfluous newlines from inline assemblies 2025-09-29 13:52:08 +02:00
Makefile KVM: s390: Remove gmap from s390/mm 2026-02-04 17:00:10 +01:00
mmap.c s390: Remove compat support 2025-11-17 11:10:38 +01:00
page-states.c KVM: s390: KVM page table management functions: allocation 2026-02-04 17:00:09 +01:00
pageattr.c s390: Move sske_frame() to a header 2026-02-04 17:00:08 +01:00
pfault.c s390/pfault: Fix virtual vs physical address confusion 2026-02-25 17:00:25 +01:00
pgalloc.c KVM: S390: Remove PGSTE code from linux/s390 mm 2026-02-04 17:00:10 +01:00
pgtable.c KVM: S390: Remove PGSTE code from linux/s390 mm 2026-02-04 17:00:10 +01:00
physaddr.c s390/mm: provide simple ARCH_HAS_DEBUG_VIRTUAL support 2024-03-13 09:23:49 +01:00
vmem.c s390: Unmap early KASAN shadow on memory offlining 2025-12-07 16:15:19 +01:00