All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/4] powerpc: kprobes insn page fixes
@ 2026-11-25 16:52 Ritesh Harjani (IBM)
  2026-11-25 16:52 ` [PATCHv3 1/4] powerpc/execmem: Don't leave kprobes insn pages W+X when CONFIG_MODULES=n Ritesh Harjani (IBM)
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Ritesh Harjani (IBM) @ 2026-11-25 16:52 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Madhavan Srinivasan, Venkat Rao Bagalkote, linux-kernel, chleroy,
	Michael Ellerman, Nicholas Piggin, Shrikanth Hegde,
	Ritesh Harjani (IBM)

Hi All,

A few fixes that came out of looking at a W+X warning at boot with
KPROBES=y and MODULES=n.

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@gmail.com/

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
  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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-26  4:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 16:52 [PATCHv3 0/4] powerpc: kprobes insn page fixes Ritesh Harjani (IBM)
2026-11-25 16:52 ` [PATCHv3 1/4] powerpc/execmem: Don't leave kprobes insn pages W+X when CONFIG_MODULES=n Ritesh Harjani (IBM)
2026-11-25 18:49   ` Christophe Leroy (CS GROUP)
2026-11-25 16:52 ` [PATCHv3 2/4] powerpc/execmem: Allocate kprobes insn pages from the modules area on book3s/32 Ritesh Harjani (IBM)
2026-11-25 18:47   ` Christophe Leroy (CS GROUP)
2026-11-26  3:23     ` Ritesh Harjani
2026-11-25 16:52 ` [PATCHv3 3/4] powerpc/ptdump: Show the exec flag of kernel mappings on e500 Ritesh Harjani (IBM)
2026-11-25 16:52 ` [PATCHv3 4/4] powerpc/mm: Drop PAGE_KERNEL_EXEC Ritesh Harjani (IBM)
2026-11-25 18:49   ` Christophe Leroy (CS GROUP)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.