Subject: Re: PROBLEM: Linux 3.6.2 fails to boot on IBM Cell

From: Grant Likely <[email-masked]>
Date: Thu, 15 Nov 2012 17:58:35 +0000

On Thu, 25 Oct 2012 21:33:41 +0200, Dennis Schridde <[email-masked]> wrote:
> Hello everyone!
> 
> Am Freitag, 19. Oktober 2012, 09:04:08 schrieb Dennis Schridde:
> > Am Freitag, 19. Oktober 2012, 00:17:55 schrieb Grant Likely:
> > > What does the boot log look like with the attached patch? (compiled
> > > only, I haven't booted with it)
> > 
> > Please find the log attached.
> Have you found the cause or a fix for the problem?

Umm, no. Some suggestions were made so I assumed you'd try those.

Anyway, here is a real patch. Try this:

g.

diff --git a/arch/powerpc/platforms/cell/pmu.c b/arch/powerpc/platforms/cell/pmu.c
index 59c1a16..348a27b 100644
--- a/arch/powerpc/platforms/cell/pmu.c
+++ b/arch/powerpc/platforms/cell/pmu.c
@@ -382,7 +382,7 @@ static int __init cbe_init_pm_irq(void)
 	unsigned int irq;
 	int rc, node;
 
-	for_each_node(node) {
+	for_each_online_node(node) {
 		irq = irq_create_mapping(NULL, IIC_IRQ_IOEX_PMI |
 					       (node << IIC_IRQ_NODE_SHIFT));
 		if (irq == NO_IRQ) {