All of lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 1/3] ARM: probes: check stack operation when decoding
Date: Thu, 28 Aug 2014 11:24:07 +0100	[thread overview]
Message-ID: <20140828102406.GH22580@arm.com> (raw)
In-Reply-To: <20140828102021.GC30401@n2100.arm.linux.org.uk>

On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote:
> On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote:
> > (2014/08/27 22:02), Wang Nan wrote:
> > > This patch improves arm instruction decoder, allows it check whether an
> > > instruction is a stack store operation. This information is important
> > > for kprobe optimization.
> > > 
> > > For normal str instruction, this patch add a series of _SP_STACK
> > > register indicator in the decoder to test the base and offset register
> > > in ldr <Rt>, [<Rn>, <Rm>] against sp.
> > > 
> > > For stm instruction, it check sp register in instruction specific
> > > decoder.
> > 
> > OK, reviewed. but since I'm not so sure about arm32 ISA,
> > I need help from ARM32 maintainer to ack this.
> 
> What you actually need is an ack from the ARM kprobes people who
> understand this code.  That would be much more meaningful than my
> ack.  They're already on the Cc list.

Tixy, can you take a look please?

Will

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will.deacon@arm.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>,
	Wang Nan <wangnan0@huawei.com>,
	"David A. Long" <dave.long@linaro.org>,
	Jon Medhurst <tixy@linaro.org>,
	Taras Kondratiuk <taras.kondratiuk@linaro.org>,
	Ben Dooks <ben.dooks@codethink.co.uk>,
	Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
	Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
	"David S. Miller" <davem@davemloft.net>,
	Pei Feiyue <peifeiyue@huawei.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding
Date: Thu, 28 Aug 2014 11:24:07 +0100	[thread overview]
Message-ID: <20140828102406.GH22580@arm.com> (raw)
In-Reply-To: <20140828102021.GC30401@n2100.arm.linux.org.uk>

On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote:
> On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote:
> > (2014/08/27 22:02), Wang Nan wrote:
> > > This patch improves arm instruction decoder, allows it check whether an
> > > instruction is a stack store operation. This information is important
> > > for kprobe optimization.
> > > 
> > > For normal str instruction, this patch add a series of _SP_STACK
> > > register indicator in the decoder to test the base and offset register
> > > in ldr <Rt>, [<Rn>, <Rm>] against sp.
> > > 
> > > For stm instruction, it check sp register in instruction specific
> > > decoder.
> > 
> > OK, reviewed. but since I'm not so sure about arm32 ISA,
> > I need help from ARM32 maintainer to ack this.
> 
> What you actually need is an ack from the ARM kprobes people who
> understand this code.  That would be much more meaningful than my
> ack.  They're already on the Cc list.

Tixy, can you take a look please?

Will

  reply	other threads:[~2014-08-28 10:24 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 13:02 [PATCH v5 0/3] kprobes: arm: enable OPTPROBES for ARM 32 Wang Nan
2014-08-27 13:02 ` Wang Nan
2014-08-27 13:02 ` [PATCH v5 1/3] ARM: probes: check stack operation when decoding Wang Nan
2014-08-27 13:02   ` Wang Nan
2014-08-28  9:51   ` Masami Hiramatsu
2014-08-28  9:51     ` Masami Hiramatsu
2014-08-28 10:20     ` Russell King - ARM Linux
2014-08-28 10:20       ` Russell King - ARM Linux
2014-08-28 10:24       ` Will Deacon [this message]
2014-08-28 10:24         ` Will Deacon
2014-08-29  8:47         ` Jon Medhurst (Tixy)
2014-08-29  8:47           ` Jon Medhurst (Tixy)
2014-08-30  1:28           ` Wang Nan
2014-08-30  1:28             ` Wang Nan
2014-09-01 17:29             ` Jon Medhurst (Tixy)
2014-09-01 17:29               ` Jon Medhurst (Tixy)
2014-08-27 13:02 ` [PATCH v5 2/3] kprobes: copy ainsn after alloc aggr kprobe Wang Nan
2014-08-27 13:02   ` Wang Nan
2014-08-28  9:39   ` Masami Hiramatsu
2014-08-28  9:39     ` Masami Hiramatsu
2014-08-28 11:07     ` Wang Nan
2014-08-28 11:07       ` Wang Nan
2014-08-27 13:02 ` [PATCH v5 3/3] kprobes: arm: enable OPTPROBES for ARM 32 Wang Nan
2014-08-27 13:02   ` Wang Nan
2014-08-28 10:20   ` Masami Hiramatsu
2014-08-28 10:20     ` Masami Hiramatsu
2014-09-02 13:49   ` Jon Medhurst (Tixy)
2014-09-02 13:49     ` Jon Medhurst (Tixy)
2014-09-03 10:18     ` Masami Hiramatsu
2014-09-03 10:18       ` Masami Hiramatsu
2014-09-03 10:30       ` Will Deacon
2014-09-03 10:30         ` Will Deacon
2014-09-04 10:40         ` Jon Medhurst (Tixy)
2014-09-04 10:40           ` Jon Medhurst (Tixy)
2014-09-04 10:52           ` Will Deacon
2014-09-04 10:52             ` Will Deacon

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=20140828102406.GH22580@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.