Christophe Leroy a5a08dc90f powerpc: Refactor permission masks used for __P/__S table and kernel memory flags
Prepare a common version of the permission masks that will be based
on _PAGE_NA, _PAGE_RO, _PAGE_ROX, _PAGE_RW, _PAGE_RWX that will be
defined in platform specific headers in later patches.

Put them in a new header pgtable-masks.h which will be included by
platforms.

And prepare a common version of flags used for mapping kernel memory
that will be based on _PAGE_RO, _PAGE_ROX, _PAGE_RW, _PAGE_RWX that
will be defined in platform specific headers.

Put them in unless _PAGE_KERNEL_RO is already defined so that platform
specific definitions can be dismantled one by one.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/d31b59efcdb38e675479563307af891aeadf6ec9.1695659959.git.christophe.leroy@csgroup.eu
2023-10-19 17:12:46 +11:00
..
2022-08-07 17:52:35 -07:00
2023-02-12 22:11:56 +11:00
2021-03-24 14:09:29 +11:00
2022-06-29 19:37:07 +10:00
2023-08-18 10:12:35 -07:00
2023-08-16 23:54:48 +10:00
2022-07-27 21:36:05 +10:00
2023-06-21 15:13:57 +10:00
2021-02-09 01:09:44 +11:00
2022-05-08 22:15:40 +10:00
2019-07-13 16:08:36 -07:00
2023-08-16 23:54:48 +10:00
2023-08-31 12:43:10 -07:00
2022-12-07 20:14:49 +11:00
2019-07-13 16:08:36 -07:00
2023-08-24 22:33:16 +10:00
2021-12-09 22:41:21 +11:00
2022-05-28 11:27:17 -07:00
2022-09-28 19:22:09 +10:00
2023-08-02 22:49:43 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00