Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1595323

Re: [PATCH v5 2/5] powerpc: kretprobes: override default function entry offset

From "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 2/5] powerpc: kretprobes: override default function entry offset
Date 2017-03-08 17:10 +0100
Message-ID <tiKUW-7Oh-7@gated-at.bofh.it> (permalink)
References <tiF8R-3JU-3@gated-at.bofh.it> <tiF8S-3JU-29@gated-at.bofh.it> <tiHNn-5Nf-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Michael,

On 2017/03/08 09:43PM, Michael Ellerman wrote:
> "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> writes:
> 
> > With ABIv2, we offset 8 bytes into a function to get at the local entry
> > point.
> >
> > Acked-by: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
> > Acked-by: Michael Ellerman <mpe@ellerman.id.au>
> > Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
> > ---
> >  arch/powerpc/kernel/kprobes.c | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> 
> I'm OK with this change, and I'm happy for it to go with the rest of the
> series via acme's tree:
> 
> Acked-by: Michael Ellerman <mpe@ellerman.id.au>
> 
> 
> But, you've also sent a series to do KPROBES_ON_FTRACE, and that also
> touches this function, see the 2nd to last hunk at:
> 
>   https://patchwork.ozlabs.org/patch/730675/
> 
> 
> If this goes via acme's tree it will be awkward for me to merge the
> series above via the powerpc tree.

Ah yes, indeed.

> 
> So we could do topic branches and so on, or we could just drop this
> patch from this series, and I'll merge it as part of the other series.
> It won't do anything useful until it's merged with a tree that also has
> the rest of this series. Or something else I haven't thought of.

The arch-independent change that this depends on has been picked up by 
Arnaldo and pushed to Ingo:
https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg115211.html

I'm guessing this will go into v4.11? In which case, this powerpc patch 
should also go in. Otherwise kretprobes will be broken on powerpc64le.

I wasn't sure if you were planning on picking up KPROBES_ON_FTRACE for 
v4.11. If so, it would be good to take this patch through the powerpc 
tree. Otherwise, this can go via Ingo's tree.


Thanks,
Naveen

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v5 2/5] powerpc: kretprobes: override default function entry offset "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-03-08 09:30 +0100
  Re: [PATCH v5 2/5] powerpc: kretprobes: override default function entry offset Michael Ellerman <mpe@ellerman.id.au> - 2017-03-08 12:20 +0100
    Re: [PATCH v5 2/5] powerpc: kretprobes: override default function  entry offset Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-03-08 15:40 +0100
      Re: [PATCH v5 2/5] powerpc: kretprobes: override default function  entry offset "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-03-09 01:10 +0100
        Re: [PATCH v5 2/5] powerpc: kretprobes: override default function entry offset Michael Ellerman <mpe@ellerman.id.au> - 2017-03-09 07:40 +0100
          Re: [PATCH v5 2/5] powerpc: kretprobes: override default function  entry offset "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-03-09 09:10 +0100
    Re: [PATCH v5 2/5] powerpc: kretprobes: override default function  entry offset "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-03-08 17:10 +0100

csiph-web