From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 36D2C2C0092 for ; Fri, 19 Oct 2012 10:26:26 +1100 (EST) Message-ID: <1350602739.2476.18.camel@pasglop> Subject: Re: PROBLEM: Linux 3.6.2 fails to boot on IBM Cell From: Benjamin Herrenschmidt To: Grant Likely Date: Fri, 19 Oct 2012 10:25:39 +1100 In-Reply-To: References: <5521875.6lkx8Qvfk5@ernie> <2594570.cnhHoOP5cq@ernie> <3999612.yr3XeWjcOk@ernie> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev , Dennis Schridde , Thomas Gleixner List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2012-10-18 at 23:44 +0100, Grant Likely wrote: > Also, it should be noted that the irq does actually get set up by > irqdomain.c, but because everything above 0x1ff is larger than the > lookup table, it complains. The new code complains loudly (as you > discovered) if someone tries to use a hwirq larger than the map where > the old code didn't. > > Looks to me like the fix is to change for_each_node() to something as > simple as "for (i = 0; i < 2; i++)" I think somebody was expecting for_each_node() to iterate only present nodes or something ... Not all Cell systems have both nodes btw, so we might want to be a tiny bit smarter than that .... or not :-) Cheers, Ben.