From: Michael Ellerman <michael@ellerman.id.au>
To: Olof Johansson <olof@lixom.net>
Cc: linuxppc-dev@ozlabs.org, Michael Neuling <mikey@neuling.org>,
paulus@samba.org
Subject: Re: [PATCH] fix compile warning in pseries xics
Date: Wed, 30 May 2007 10:28:12 +1000 [thread overview]
Message-ID: <1180484892.5355.6.camel@concordia.ozlabs.ibm.com> (raw)
In-Reply-To: <20070529142715.GA29108@lixom.net>
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
On Tue, 2007-05-29 at 09:27 -0500, Olof Johansson wrote:
> On Tue, May 29, 2007 at 05:01:52PM +1000, Michael Neuling wrote:
> > @@ -762,11 +763,12 @@ void xics_request_IPIs(void)
> > */
> > set_irq_handler(ipi, handle_percpu_irq);
> > if (firmware_has_feature(FW_FEATURE_LPAR))
> > - request_irq(ipi, xics_ipi_action_lpar, IRQF_DISABLED,
> > - "IPI", NULL);
> > + rc = request_irq(ipi, xics_ipi_action_lpar, IRQF_DISABLED,
> > + "IPI", NULL);
> > else
> > - request_irq(ipi, xics_ipi_action_direct, IRQF_DISABLED,
> > - "IPI", NULL);
> > + rc = request_irq(ipi, xics_ipi_action_direct, IRQF_DISABLED,
> > + "IPI", NULL);
> > + BUG_ON(rc);
>
> Is this late enough during boot that you actually get useful information
> out of a BUG()? It might be better to spit out an error and keep on
> going if that's the case (I'm afraid I don't have hardware at hand to
> test with right now).
It's way late:
start_kernel()
rest_init()
kernel_init()
smp_prepare_cpus()
smp_ops->probe()
smp_xics_probe()
xics_request_IPIs()
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: 189 bytes --]
prev parent reply other threads:[~2007-05-30 0:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-29 5:50 [PATCH] fix compile warning in pseries xics Michael Neuling
2007-05-29 5:52 ` Michael Ellerman
2007-05-29 7:01 ` Michael Neuling
2007-05-29 14:27 ` Olof Johansson
2007-05-30 0:28 ` Michael Ellerman [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=1180484892.5355.6.camel@concordia.ozlabs.ibm.com \
--to=michael@ellerman.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.org \
--cc=olof@lixom.net \
--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).