[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071011055941.GA1783@lixom.net>
Date: Thu, 11 Oct 2007 00:59:41 -0500
From: Olof Johansson <olof@...om.net>
To: Paul Mackerras <paulus@...ba.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>, Greg KH <greg@...ah.com>,
Greg KH <gregkh@...e.de>, linux-kernel@...r.kernel.org,
Chris Wedgwood <reviews@...cw.f00f.org>,
linuxppc-dev@...abs.org, tgall.foo@...il.com,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
stable@...nel.org
Subject: Re: [PATCH v2] powerpc: don't enable cpu hotplug on mpic-based
pseries
On Thu, Oct 11, 2007 at 03:52:04PM +1000, Paul Mackerras wrote:
> Olof Johansson writes:
>
> > Don't allow cpu hotplug on systems lacking XICS interrupt controller,
> > since current code is hardcoded for it.
> ...
> > + for (np = NULL; (np = of_find_node_by_name(np,
> > + "interrupt-controller"));) {
>
> Looks like for_each_node_by_name would be nicer here.
>
> If you agree, I'll hand-edit your patch to do that and apply it.
Go for it, I just stole that out of the detection code. That
could be changed accordingly as well at some point (I'm guessing
for_each_node_by_name didn't exist when that was written).
> Of course, ultimately we should implement the necessary mpic bits to
> support cpu hotplug.
Yep. I'll leave that to people who have hardware access. :-)
Thanks,
-Olof
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists