s390/pgtable: Add missing hardware bits for puds, pmds
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Mon, 29 Apr 2024 14:34:09 +0000 (16:34 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 11:37:05 +0000 (13:37 +0200)
commit712c5d5f625974877d9302d6b160729288f1feb2
treed3cdc4172ab3f027f317e26f89849c54afe62247
parent3e93d49175a7b82adedd43072b021401d81f6b76
s390/pgtable: Add missing hardware bits for puds, pmds

Add the table type and ACCF validity bits to _SEGMENT_ENTRY_BITS and
_SEGMENT_ENTRY_HARDWARE_BITS{,_LARGE}.

For completeness, introduce _REGION3_ENTRY_HARDWARE_BITS_LARGE and
_REGION3_ENTRY_HARDWARE_BITS, containing the hardware bits used for
large puds and normal puds.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20240429143409.49892-3-imbrenda@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/pgtable.h