powerpc/64s: Enable KFENCE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | powerpc/64s: Add DEBUG_PAGEALLOC for radixarch/ arch/ arch/ +6 more | +76 | 1 reply | |
| 2/4 | powerpc/64s: Remove unneeded #ifdef CONFIG_DEBUG_PAGEALLOC in hash_utilsarch/ | +2 | 1 reply | |
| 3/4 | powerpc/64s: Allow double call of kernel_[un]map_linear_page()arch/ | +7 | 0 replies | |
| 4/4 | powerpc: Enable KFENCE on BOOK3S/64arch/ arch/ arch/ +2 more | +32 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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