From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Roland McGrath <roland@redhat.com>
Cc: linuxppc-dev@ozlabs.org, utrace-devel@redhat.com
Subject: Re: [PATCH] powerpc ptrace block-step
Date: Fri, 29 May 2009 15:03:49 +1000 [thread overview]
Message-ID: <1243573429.17903.30.camel@pasglop> (raw)
In-Reply-To: <20090401215903.DE872FC3AB@magilla.sf.frob.com>
On Wed, 2009-04-01 at 14:59 -0700, Roland McGrath wrote:
> Maynard asked about user_enable_block_step() support on powerpc.
> This is the old patch I've posted before. I haven't even tried
> to compile it lately, but it rebased cleanly.
>
> AFAIK the only reason this didn't go in several months ago was waiting
> for someone to decide what the right arch_has_block_step() condition was,
> i.e. if it needs to check some cpu_feature or chip identifier bits.
>
> I had hoped that I had passed the buck then to ppc folks to figure that out
> and make it so. But it does not appear to have happened.
>
> Note you can drop the #define PTRACE_SINGLEBLOCK if you want to be
> conservative and not touch the user (ptrace) ABI yet. Then Maynard
> could beat on it with internal uses (utrace) before you worry about
> whether userland expects the new ptrace request macro to exist.
So the patch had some issues, such as missing clearing of DBCR0 bits,
missing changes to code in traps.c to properly identify the new cause
of debug interrupts, etc...
I've spinned a new version, I'll post it as soon as I got to do some
quick tests. It will then go into the next merge window hopefully.
Note: I've verified, blockstep seems to be implemented by all the core
variants -except- the old 601.
Cheers,
Ben.
next prev parent reply other threads:[~2009-05-29 5:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 21:59 [PATCH] powerpc ptrace block-step Roland McGrath
2009-04-02 5:26 ` Benjamin Herrenschmidt
2009-04-03 0:44 ` Roland McGrath
2009-04-03 1:13 ` Josh Boyer
2009-04-03 1:59 ` Roland McGrath
2009-04-03 12:10 ` Frank Ch. Eigler
2009-04-03 1:43 ` Benjamin Herrenschmidt
2009-05-29 5:03 ` Benjamin Herrenschmidt [this message]
2009-05-29 7:32 ` Roland McGrath
2009-05-29 7:39 ` Benjamin Herrenschmidt
-- strict thread matches above, loose matches on Subject: below --
2008-05-02 6:51 Roland McGrath
2008-05-23 6:21 ` Michael Ellerman
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=1243573429.17903.30.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=roland@redhat.com \
--cc=utrace-devel@redhat.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).