[PATCH v2 0/5] powerpc: a few kprobe fixes and refactoring

Naveen N. Rao
2017-04-12T10:59:41Z

v1:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1334843.html

For v2, this series has been re-ordered and rebased on top of
powerpc/next so as to make it easier to resolve conflicts with -tip. No
other changes.

- Naveen

Naveen N. Rao (5):
kprobes: convert kprobe_lookup_name() to a function
powerpc: kprobes: fix handling of function offsets on ABIv2
powerpc: introduce a new helper to obtain function entry points
powerpc: kprobes: factor out code to emulate instruction into a helper
powerpc: kprobes: emulate instructions on kprobe handler re-entry

arch/powerpc/include/asm/code-patching.h | 37 ++++++++++
arch/powerpc/include/asm/kprobes.h | 53 --------------
arch/powerpc/kernel/kprobes.c | 119 +++++++++++++++++++++++++------
arch/powerpc/kernel/optprobes.c | 6 +-
include/linux/kprobes.h | 1 +
kernel/kprobes.c | 21 +++---
6 files changed, 147 insertions(+), 90 deletions(-)

--
2.12.1