Skip to content

powerpc/kprobes: fixes and cleanups

Naveen N. Rao linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5powerpc/kprobes: Fix validation of prefixed instructions across page boundaryarch/powerpc/kernel/kprobes.c+2 -20 replies
2/5powerpc/kprobes: Roll IS_RFI() macro into IS_RFID()arch/powerpc/include/asm/sstep.h arch/powerpc/kernel/kprobes.c+5 -60 replies
3/5powerpc/kprobes: Check instruction validity during kprobe registrationarch/powerpc/kernel/kprobes.c+16 -460 replies
4/5powerpc/kprobes: Refactor arch_prepare_kprobe()arch/powerpc/kernel/kprobes.c+31 -330 replies
5/5powerpc/kprobes: Warn if instruction patching failedarch/powerpc/kernel/kprobes.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] powerpc/kprobes: fixes and cleanups

Various fixes and some code refactoring for kprobes on powerpc. The first patch fixes an invalid access if probing the first instruction in a kernel module. The rest are small cleanups. More details in the individual patches.

- Naveen

Naveen N. Rao (5):
powerpc/kprobes: Fix validation of prefixed instructions across page
boundary
powerpc/kprobes: Roll IS_RFI() macro into IS_RFID() powerpc/kprobes: Check instruction validity during kprobe registration powerpc/kprobes: Refactor arch_prepare_kprobe() powerpc/kprobes: Warn if instruction patching failed

 arch/powerpc/include/asm/sstep.h |   7 +-
 arch/powerpc/kernel/kprobes.c    | 112 +++++++++++--------------------
 2 files changed, 43 insertions(+), 76 deletions(-)

base-commit: 3a81c0495fdb91fd9a9b4f617098c283131eeae1

Signature · 1 line
2.30.2