]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/kvm: Move bitfields for dat tables
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Wed, 3 Jul 2024 15:59:00 +0000 (17:59 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 10 Jul 2024 17:50:45 +0000 (19:50 +0200)
commit275d05ce0680949085622bf38a365efcdd34fe11
tree767c8b7bf5b97e75f41c9b1fb17cf637ac524fb8
parent723ac2d6ba77be712b165b710c60adda6e657c9e
s390/kvm: Move bitfields for dat tables

Move and improve the struct definitions for DAT tables from gaccess.c
to a new header.

Once in a separate header, the structs become available everywhere. One
possible usecase is to merge them in the s390 pte_t and p?d_t
definitions, which is left as an exercise for the reader.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Link: https://lore.kernel.org/r/20240703155900.103783-3-imbrenda@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/dat-bits.h [new file with mode: 0644]
arch/s390/kvm/gaccess.c