]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: s390: stop using page->index for non-shadow gmaps
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Thu, 23 Jan 2025 14:46:22 +0000 (15:46 +0100)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Fri, 31 Jan 2025 11:03:53 +0000 (12:03 +0100)
commit37d1b5d8d588a9761e47d9941005e2da7def8310
tree720c7d1cf8a42ffd530f41db83aa72e315997322
parentc9f721ed8ec6942dad951d2d8c4fca291170165e
KVM: s390: stop using page->index for non-shadow gmaps

The host_to_guest radix tree will now map userspace addresses to guest
addresses, instead of userspace addresses to segment tables.

When segment tables and page tables are needed, they are found using an
additional gmap_table_walk().

This gets rid of all usage of page->index for non-shadow gmaps.

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Link: https://lore.kernel.org/r/20250123144627.312456-11-imbrenda@linux.ibm.com
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20250123144627.312456-11-imbrenda@linux.ibm.com>
arch/s390/mm/gmap.c