[PATCH v4 0/4] powerpc: kprobes insn page fixes
From: Ritesh Harjani (IBM)
Date: Wed Nov 25 2026 - 23:26:23 EST
Hi All,
Misc few fixes that came out of looking at a W+X warning at boot with
KPROBES=y and MODULES=n.
v3 -> v4:
=========
1. fixed the commit msg and added details for book3s/32 and 8xx in patch-2
v2 -> v3:
=========
1. Collected RB tags, addressed review comments & suggestions from Christophe
2. Removed PAGE_KERNEL_EXEC in the cleanup patch-4
v2: https://lore.kernel.org/linuxppc-dev/cover.1794572365.git.ritesh.list@xxxxxxxxx/
Ritesh Harjani (IBM) (4):
powerpc/execmem: Don't leave kprobes insn pages W+X when CONFIG_MODULES=n
powerpc/execmem: Allocate kprobes insn pages from the modules area on book3s/32 and 8xx
powerpc/ptdump: Show the exec flag of kernel mappings on e500
powerpc/mm: Drop PAGE_KERNEL_EXEC
arch/powerpc/include/asm/pgtable.h | 3 ---
arch/powerpc/mm/mem.c | 15 +++++++++++----
arch/powerpc/mm/ptdump/shared.c | 6 +++---
3 files changed, 14 insertions(+), 10 deletions(-)
--
2.39.5