[PATCH 0/3] kprobes: Misc bugfixes

From: Masami Hiramatsu
Date: Thu Jan 13 2022 - 09:55:36 EST


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) <mhiramat@xxxxxxxxxx>