2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/s390/kvm
Claudio Imbrenda 84b7387692 KVM: s390: remove the last user of page->index
Shadow page tables use page->index to keep the g2 address of the guest
page table being shadowed.

Instead of keeping the information in page->index, split the address
and smear it over the 16-bit softbits areas of 4 PGSTEs.

This removes the last s390 user of page->index.

Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Link: https://lore.kernel.org/r/20250123144627.312456-16-imbrenda@linux.ibm.com
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20250123144627.312456-16-imbrenda@linux.ibm.com>
2025-01-31 12:03:53 +01:00
..
diag.c KVM: s390: Change virtual to physical address access in diag 0x258 handler 2024-10-10 15:31:55 +02:00
gaccess.c KVM: s390: remove the last user of page->index 2025-01-31 12:03:53 +01:00
gaccess.h KVM: s390: gaccess: Check if guest address is in memslot 2024-10-10 15:31:55 +02:00
gmap-vsie.c KVM: s390: move some gmap shadowing functions away from mm/gmap.c 2025-01-31 12:03:52 +01:00
gmap.c KVM: s390: move pv gmap functions into kvm 2025-01-31 12:03:52 +01:00
gmap.h KVM: s390: move gmap_shadow_pgt_lookup() into kvm 2025-01-31 12:03:53 +01:00
guestdbg.c KVM: s390: Harden copying of userspace-array against overflow 2023-12-01 08:00:42 -08:00
intercept.c KVM: s390: get rid of gmap_fault() 2025-01-31 12:03:52 +01:00
interrupt.c KVM: s390: get rid of gmap_translate() 2025-01-31 12:03:52 +01:00
Kconfig treewide: remove CONFIG_HAVE_KVM 2024-02-08 08:45:36 -05:00
kvm-s390.c KVM: s390: move some gmap shadowing functions away from mm/gmap.c 2025-01-31 12:03:52 +01:00
kvm-s390.h KVM: s390: move some gmap shadowing functions away from mm/gmap.c 2025-01-31 12:03:52 +01:00
Makefile KVM: s390: move some gmap shadowing functions away from mm/gmap.c 2025-01-31 12:03:52 +01:00
pci.c KVM: s390: Use try_cmpxchg() instead of cmpxchg() loops 2024-11-27 12:55:15 +01: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: fix LPSWEY handling 2024-07-01 14:31:15 +02:00
pv.c KVM: s390: move pv gmap functions into kvm 2025-01-31 12:03:52 +01: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: add tracepoint in gmap notifier 2023-10-16 14:54:29 +02: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: move some gmap shadowing functions away from mm/gmap.c 2025-01-31 12:03:52 +01:00