From: Michael Ellerman <michael@ellerman.id.au>
To: Linas Vepstas <linas@austin.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Arnd Bergmann <arnd.bergmann@de.ibm.com>,
cbe-oss-dev@ozlabs.org
Subject: Re: [PATCH 1/2] Add support for stopping spus from xmon
Date: Wed, 18 Oct 2006 17:13:46 +1000 [thread overview]
Message-ID: <1161155626.7906.17.camel@localhost.localdomain> (raw)
In-Reply-To: <20061012161845.GY4381@austin.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
On Thu, 2006-10-12 at 11:18 -0500, Linas Vepstas wrote:
> On Thu, Oct 12, 2006 at 10:03:08PM +1000, Michael Ellerman wrote:
> >
> > arch/powerpc/platforms/cell/spu_base.c | 4
> > arch/powerpc/xmon/xmon.c | 142 ++++++++++++++++++++++++++++++++-
> > include/asm-powerpc/xmon.h | 2
> > 3 files changed, 146 insertions(+), 2 deletions(-)
>
> The next patch adds another 60 lines to xmon.c, which
> is already a bit too big. Perhaps you could instead
> put this code in "xmon/cell.c" or something like that?
I did originally, but that requires exporting several globals from
xmon.c, which struck me as even less pleasant.
I looked at some way of wrapping the if(setjmp) .. logic into a
function, but I couldn't come up with anything neat in the little time I
had.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-10-18 7:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-12 12:03 [PATCH 0/2] Cell xmon helpers Michael Ellerman
2006-10-12 12:03 ` [PATCH 1/2] Add support for stopping spus from xmon Michael Ellerman
2006-10-12 16:18 ` Linas Vepstas
2006-10-18 7:13 ` Michael Ellerman [this message]
2006-10-13 3:10 ` Haren Myneni
2006-10-18 7:16 ` Michael Ellerman
2006-10-13 3:18 ` Luke Browning
2006-10-18 7:14 ` Michael Ellerman
2006-10-12 12:03 ` [PATCH 2/2] Add support for dumping spu info " Michael Ellerman
2006-10-12 17:42 ` [Cbe-oss-dev] " Geoff Levand
2006-10-18 6:56 ` Michael Ellerman
2006-11-10 9:11 ` Geoff Levand
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=1161155626.7906.17.camel@localhost.localdomain \
--to=michael@ellerman.id.au \
--cc=arnd.bergmann@de.ibm.com \
--cc=cbe-oss-dev@ozlabs.org \
--cc=linas@austin.ibm.com \
--cc=linuxppc-dev@ozlabs.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 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).