[PATCH 0/4] powerpc/64s: Enable KFENCE
Jordan Niethe
jniethe5 at gmail.com
Mon May 17 16:16:54 AEST 2021
This adds support for radix to Christophe's series that enabled KFENCE on
powerpc/64s/hash:
https://lore.kernel.org/linuxppc-dev/8dfe1bd2abde26337c1d8c1ad0acfcc82185e0d5.1614868445.git.christophe.leroy@csgroup.eu/
First implement DEBUG_PAGEALLOC for radix so KFENCE can reuse the same
infrastructure.
This requires the "powerpc: Further Strict RWX support" series:
https://lore.kernel.org/linuxppc-dev/20210517032810.129949-1-jniethe5@gmail.com/
Christophe Leroy (3):
powerpc/64s: Remove unneeded #ifdef CONFIG_DEBUG_PAGEALLOC in
hash_utils
powerpc/64s: Allow double call of kernel_[un]map_linear_page()
powerpc: Enable KFENCE on BOOK3S/64
Jordan Niethe (1):
powerpc/64s: Add DEBUG_PAGEALLOC for radix
arch/powerpc/Kconfig | 2 +-
arch/powerpc/include/asm/book3s/32/pgtable.h | 10 +++++++
arch/powerpc/include/asm/book3s/64/hash.h | 2 ++
arch/powerpc/include/asm/book3s/64/pgtable.h | 19 ++++++++++++
arch/powerpc/include/asm/book3s/64/radix.h | 2 ++
arch/powerpc/include/asm/kfence.h | 19 ++++++++++++
arch/powerpc/include/asm/nohash/pgtable.h | 10 +++++++
arch/powerpc/include/asm/set_memory.h | 2 ++
arch/powerpc/mm/book3s64/hash_utils.c | 31 ++++++++++----------
arch/powerpc/mm/book3s64/radix_pgtable.c | 28 ++++++++++++++++--
arch/powerpc/mm/pageattr.c | 6 ++++
11 files changed, 113 insertions(+), 18 deletions(-)
--
2.25.1
More information about the Linuxppc-dev
mailing list