From: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
To: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
Michael Ellerman <mpe@ellerman.id.au>,
linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 3/3] powerpc: kprobes: emulate instructions on kprobe handler re-entry
Date: Tue, 14 Feb 2017 14:12:46 +0530 [thread overview]
Message-ID: <20170214084246.GI29806@in.ibm.com> (raw)
In-Reply-To: <55ae0ad405a254c9ec60d5912b2a53095185e219.1487060527.git.naveen.n.rao@linux.vnet.ibm.com>
On Tue, Feb 14, 2017 at 02:08:03PM +0530, Naveen N. Rao wrote:
> On kprobe handler re-entry, try to emulate the instruction rather than
> single stepping always.
>
> As a related change, remove the duplicate saving of msr as that is
> already done in set_current_kprobe()
>
> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
next prev parent reply other threads:[~2017-02-14 8:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 8:38 [PATCH 1/3] powerpc: kprobes: fix handling of function offsets on ABIv2 Naveen N. Rao
2017-02-14 8:38 ` [PATCH 2/3] powerpc: kprobes: factor out code to emulate instruction into a helper Naveen N. Rao
2017-02-14 8:42 ` Ananth N Mavinakayanahalli
2017-02-14 8:38 ` [PATCH 3/3] powerpc: kprobes: emulate instructions on kprobe handler re-entry Naveen N. Rao
2017-02-14 8:42 ` Ananth N Mavinakayanahalli [this message]
2017-02-14 8:41 ` [PATCH 1/3] powerpc: kprobes: fix handling of function offsets on ABIv2 Ananth N Mavinakayanahalli
2017-02-15 15:17 ` Masami Hiramatsu
2017-02-15 17:58 ` Naveen N. Rao
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=20170214084246.GI29806@in.ibm.com \
--to=ananth@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mhiramat@kernel.org \
--cc=mpe@ellerman.id.au \
--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).