From: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>,
Anton Blanchard <anton@samba.org>,
linuxppc-dev@lists.ozlabs.org,
Masami Hiramatsu <mhiramat@kernel.org>,
Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Subject: Re: [RFC PATCH 4/4] powerpc: mm/slb: blacklist symbols from kprobe
Date: Fri, 18 Nov 2016 16:56:04 +0530 [thread overview]
Message-ID: <20161118112604.GG4019@naverao1-tp.localdomain> (raw)
In-Reply-To: <87shqpgmeh.fsf@concordia.ellerman.id.au>
On 2016/11/18 08:36PM, Michael Ellerman wrote:
> "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> writes:
>
> > We can't really take a trap at this point. So, blacklist these symbols.
> >
> > Reported-by: Anton Blanchard <anton@samba.org>
> > Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
> > ---
> > arch/powerpc/mm/slb_low.S | 10 +++++-----
> > 1 file changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/arch/powerpc/mm/slb_low.S b/arch/powerpc/mm/slb_low.S
> > index c1c7456..c2bae92 100644
> > --- a/arch/powerpc/mm/slb_low.S
> > +++ b/arch/powerpc/mm/slb_low.S
> > @@ -30,7 +30,7 @@
> > * r9, r10, r11 are clobbered by this function
> > * No other registers are examined or changed.
> > */
> > -_GLOBAL(slb_allocate_realmode)
> > +_GLOBAL_NOKPROBE(slb_allocate_realmode)
>
> I think I'd prefer we just leave these as is, and add somewhere nearby:
>
> _ASM_NOKPROBE_SYMBOL(slb_allocate_realmode)
>
>
> It means someone reading the code doesn't need to worry about the
> nokprobe part, just to understand the function. It also means we need
> fewer macros :)
:)
Ok.
- Naveen
prev parent reply other threads:[~2016-11-18 11:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-17 15:08 [RFC PATCH 0/4] Blacklist powerpc exception vectors from kprobes Naveen N. Rao
2016-11-17 15:08 ` [RFC PATCH 1/4] powerpc: asm: introduce new macros for assembly globals Naveen N. Rao
2016-11-18 9:41 ` Michael Ellerman
2016-11-18 11:36 ` Naveen N. Rao
2016-11-17 15:08 ` [RFC PATCH 2/4] powerpc: kprobe: add arch specific blacklist Naveen N. Rao
2016-11-18 5:48 ` Michael Ellerman
2016-11-18 7:04 ` Masami Hiramatsu
2016-11-18 11:24 ` Naveen N. Rao
2016-11-18 11:22 ` Naveen N. Rao
2016-11-17 15:08 ` [RFC PATCH 3/4] powerpc: mm/slb: convert slb_low.S to use the new macros Naveen N. Rao
2016-11-17 15:08 ` [RFC PATCH 4/4] powerpc: mm/slb: blacklist symbols from kprobe Naveen N. Rao
2016-11-18 9:36 ` Michael Ellerman
2016-11-18 11:26 ` Naveen N. Rao [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=20161118112604.GG4019@naverao1-tp.localdomain \
--to=naveen.n.rao@linux.vnet.ibm.com \
--cc=ananth@in.ibm.com \
--cc=anton@samba.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mhiramat@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.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).