s390/pgtable: Switch read and write softbits for puds
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Mon, 29 Apr 2024 14:34:08 +0000 (16:34 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 11:37:05 +0000 (13:37 +0200)
commit3e93d49175a7b82adedd43072b021401d81f6b76
treecc02915641bf255e8fabb8b6b954f199221693f5
parentd65e1a0f305ba3e7aabf6261a37bb871790d9f93
s390/pgtable: Switch read and write softbits for puds

There is no reason for the read and write softbits to be swapped in the
puds compared to pmds. They are different only because the softbits for
puds were introduced at the same time when the softbits for pmds were
swapped.

The current implementation is not wrong per se, since the macros are
defined correctly; only the documentation does not reflect reality.

With this patch, the read and write softbits for large pmd and large
puds will have the same layout, and will match the existing
documentation.

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-2-imbrenda@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/pgtable.h