This is v2 of the patches posted at: http://lkml.kernel.org/r/2bc413d679c563d3ee338c318066777318577ab2.1505336870.git.naveen.n....@linux.vnet.ibm.com
Changes: - No changes in patch 1, 4 and 5. - Comment updated in patch 2, as suggested by Masami. - Patch 3 has changes to explicitly call out detection of jprobe in ftrace_caller() and that this is only for KPROBES_ON_FTRACE. - Naveen Naveen N. Rao (6): powerpc/kprobes: Some cosmetic updates to try_to_emulate() powerpc/kprobes: Do not suppress instruction emulation if a single run failed powerpc/kprobes: Clean up jprobe detection in livepatch handler powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels powerpc/jprobes: Disable preemption when triggered through ftrace powerpc/jprobes: Validate break handler invocation as being due to a jprobe_return() arch/powerpc/include/asm/kprobes.h | 2 +- arch/powerpc/kernel/kprobes-ftrace.c | 30 ++++++++++++++--- arch/powerpc/kernel/kprobes.c | 45 ++++++++++++++------------ arch/powerpc/kernel/trace/ftrace_64_mprofile.S | 4 +-- 4 files changed, 53 insertions(+), 28 deletions(-) -- 2.14.1