This is v2 of some of the patches from: https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg117777.html
The first two patches should probably go to -stable. The others can go into v4.12. Thanks, Naveen Naveen N. Rao (4): powerpc/kprobes: Pause function_graph tracing during jprobes handling powerpc/ftrace: Pass the correct stack pointer for DYNAMIC_FTRACE_WITH_REGS powerpc/kprobes_on_ftrace: Skip livepatch_handler() for jprobes powerpc/xmon: Disable ftrace while in xmon arch/powerpc/include/asm/kprobes.h | 1 + arch/powerpc/kernel/kprobes.c | 17 +++++++++ arch/powerpc/kernel/trace/ftrace_64_mprofile.S | 52 ++++++++++++++++++++------ arch/powerpc/xmon/xmon.c | 5 +++ 4 files changed, 63 insertions(+), 12 deletions(-) -- 2.12.2