From: David Gibson <david@gibson.dropbear.id.au>
To: "Mark A. Greer" <mgreer@mvista.com>
Cc: Paul Mackerras <paulus@samba.org>,
linuxppc-dev <Linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] powerpc: Disable external interrupts in bootwrapper
Date: Wed, 28 Mar 2007 11:26:22 +1000 [thread overview]
Message-ID: <20070328012622.GB27401@localhost.localdomain> (raw)
In-Reply-To: <20070328010305.GA302@mag.az.mvista.com>
On Tue, Mar 27, 2007 at 06:03:05PM -0700, Mark A. Greer wrote:
> On Wed, Mar 28, 2007 at 10:28:55AM +1000, Benjamin Herrenschmidt wrote:
> > On Tue, 2007-03-27 at 17:12 -0700, Mark A. Greer wrote:
> > > On Wed, Mar 28, 2007 at 09:43:07AM +1000, Paul Mackerras wrote:
> > > > Mark A. Greer writes:
> > > >
> > > > > Disable external interrupts very early in the bootwrapper in case
> > > > > the firmware left a device generating interrupts.
> > > >
> > > > Sounds reasonable, except that I wonder if systems running under a
> > > > real OF want to do this...
> > >
> > > I don't know. Would someone who knows OF speak up?
> >
> > OF isn't supposed to use external interrupts but I wouldn't bet on what
> > Apple's one does... I think it's not safe to do that thus on OF based
> > platforms.
>
> Hrm...crap. This may be a case where I need my own crt0.S then.
We could do some more weak symbol magic to make it an option in the
crt0.S, like the BSS stack.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
next prev parent reply other threads:[~2007-03-28 1:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 22:28 [PATCH] powerpc: Disable external interrupts in bootwrapper Mark A. Greer
2007-03-27 23:43 ` Paul Mackerras
2007-03-28 0:12 ` Mark A. Greer
2007-03-28 0:28 ` Benjamin Herrenschmidt
2007-03-28 1:03 ` Mark A. Greer
2007-03-28 1:26 ` David Gibson [this message]
2007-03-28 1:34 ` Mark A. Greer
2007-03-28 16:52 ` Segher Boessenkool
2007-03-28 1:05 ` Geoff Levand
2007-03-28 1:34 ` Mark A. Greer
2007-03-28 16:57 ` Segher Boessenkool
2007-04-10 22:37 ` Mark A. Greer
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=20070328012622.GB27401@localhost.localdomain \
--to=david@gibson.dropbear.id.au \
--cc=Linuxppc-dev@ozlabs.org \
--cc=mgreer@mvista.com \
--cc=paulus@samba.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).