Skip to content

kprobes: Misc bugfixes

Masami Hiramatsu lkml 1 version New

Get series with b4
b4 am 164208572899.1590449.14007562142219520042.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: kprobes: Count MAX_OPTINSN_SIZE in kprobe_opcode_tarch/arm/include/asm/kprobes.h+1 -20 replies
2/3powerpc/kprobes: Fix alloc_optinsn_page() to use all area of optinsn_slotarch/powerpc/include/asm/kprobes.h arch/powerpc/kernel/optprobes.c arch/powerpc/kernel/optprobes_head.S+27 -90 replies
3/3ia64: kprobes: Cleanup unused 'template' local variablearch/ia64/kernel/kprobes.c+0 -30 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/3] kprobes: Misc bugfixes

Hi,

Here are some bugfixes and cleanup for the kprobe architecture dependent implementation. 2 of 3 are found by Jianhua Liu on arm64 optprobe code. I found that the similar issue on ppc64 and arm32 implementation so fixed those. And last one was reported by kernel test bot.

Thank you,

---

Masami Hiramatsu (3):
ARM: kprobes: Count MAX_OPTINSN_SIZE in kprobe_opcode_t powerpc/kprobes: Fix alloc_optinsn_page() to use all area of optinsn_slot
ia64: kprobes: Cleanup unused 'template' local variable

 arch/arm/include/asm/kprobes.h       |    3 +--
 arch/ia64/kernel/kprobes.c           |    3 ---
 arch/powerpc/include/asm/kprobes.h   |    6 ++++++
 arch/powerpc/kernel/optprobes.c      |   25 +++++++++++++++++++------
 arch/powerpc/kernel/optprobes_head.S |    5 ++---
 5 files changed, 28 insertions(+), 14 deletions(-)

--
Masami Hiramatsu (Linaro) <[email protected]>