]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: s390: remove the last user of page->index
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Thu, 23 Jan 2025 14:46:27 +0000 (15:46 +0100)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Fri, 31 Jan 2025 11:03:53 +0000 (12:03 +0100)
commit84b7387692a8c849bd8bddd0f5c5474d4923aa6e
tree73c5b1660f0823cb3438f4c3b046a6259829cd33
parent1f4389931e9fea7e8b3c1f189d505b040b25be8a
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>
arch/s390/include/asm/pgtable.h
arch/s390/kvm/gaccess.c
arch/s390/mm/gmap.c