Thread (2 messages) flat view 2 messages, 2 authors, 2017-05-17

Re: powerpc/kprobes: Fix handling of instruction emulation on probe re-entry

From: Michael Ellerman <hidden>
Date: 2017-05-17 09:34:38

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help