powerpc/mm: Implement STRICT_KERNEL_RWX on PPC32
This patch implements STRICT_KERNEL_RWX on PPC32. As for CONFIG_DEBUG_PAGEALLOC, it deactivates BAT and LTLB mappings in order to allow page protection setup at the level of each page. As BAT/LTLB mappings are deactivated, there might be a performance impact. Signed-off-by:Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/Kconfig 1 addition, 1 deletionarch/powerpc/Kconfig
- arch/powerpc/kernel/vmlinux.lds.S 1 addition, 1 deletionarch/powerpc/kernel/vmlinux.lds.S
- arch/powerpc/mm/init_32.c 6 additions, 0 deletionsarch/powerpc/mm/init_32.c
- arch/powerpc/mm/pgtable_32.c 24 additions, 0 deletionsarch/powerpc/mm/pgtable_32.c
Loading
Please register or sign in to comment