From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org, Masami Hiramatsu <mhiramat@kernel.org>
Subject: Re: powerpc/kprobes: Fix handling of instruction emulation on probe re-entry
Date: Wed, 17 May 2017 19:34:38 +1000 (AEST) [thread overview]
Message-ID: <3wSTg21D76z9s82@ozlabs.org> (raw)
In-Reply-To: <20170515181005.29517-1-naveen.n.rao@linux.vnet.ibm.com>
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 <naveen.n.rao@linux.vnet.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/d04c02f8aa96d82e4cbe783f85a820
cheers
prev parent reply other threads:[~2017-05-17 9:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-15 18:10 [PATCH] powerpc/kprobes: Fix handling of instruction emulation on probe re-entry Naveen N. Rao
2017-05-17 9:34 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3wSTg21D76z9s82@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mhiramat@kernel.org \
--cc=naveen.n.rao@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).