Hi All, A few fixes that came out of looking at a W+X warning at boot with KPROBES=y and MODULES=n.
- Patch-1 fixes that warning. - Patch-2 (reported by Sashiko) fixes an oops on book3s/32 when a kprobe has to single step an instruction out of line, the insn page was in an NX segment. - Patch-3 makes ptdump show "X" for kernel mappings on e500, which was noticed while testing the other two. Ritesh Harjani (IBM) (3): 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 powerpc/ptdump: Show the exec flag of kernel mappings on e500 arch/powerpc/mm/mem.c | 12 +++++++++--- arch/powerpc/mm/ptdump/shared.c | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) -- 2.39.5
