Skip to content

powerpc/64s: Enable KFENCE

Jordan Niethe linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/64s: Add DEBUG_PAGEALLOC for radixarch/powerpc/include/asm/book3s/32/pgtable.h arch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h +6 more+76 -31 reply
2/4powerpc/64s: Remove unneeded #ifdef CONFIG_DEBUG_PAGEALLOC in hash_utilsarch/powerpc/mm/book3s64/hash_utils.c+2 -71 reply
3/4powerpc/64s: Allow double call of kernel_[un]map_linear_page()arch/powerpc/mm/book3s64/hash_utils.c+7 -10 replies
4/4powerpc: Enable KFENCE on BOOK3S/64arch/powerpc/Kconfig arch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/include/asm/kfence.h +2 more+32 -113 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] powerpc/64s: Enable KFENCE

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/[email protected]/

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(-)
Signature · 1 line
2.25.1