On Mon, 2017-05-15 at 18:10:05 UTC, "Naveen N. Rao" wrote:
Commit 22d8b3dec214c ("powerpc/kprobes: Emulate instructions on kprobe
handler re-entry") enabled emulating instructions on kprobe re-entry,
rather than single-stepping always. However, we didn't update the single
stepping code to only be run if the emulation fails. Also, we missed
re-enabling preemption if the instruction emulation was successful. Fix
those issues.
Fixes: 22d8b3dec214c ("powerpc/kprobes: Emulate instructions on kprobe
handler re-entry")
Signed-off-by: Naveen N. Rao <redacted>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/d04c02f8aa96d82e4cbe783f85a820
cheers