[Cbe-oss-dev] 2.6.30 does not boot on QS21/22

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jun 18 18:45:02 EST 2009


On Thu, 2009-06-18 at 08:13 +0900, Akira Tsukamoto wrote:
> Hi,
> 
> I tried 2.6.30 on IBM QS21/22 and found that it does not boot successfully.
> 
> I hunt the root cause and it is not so complicated.
> 
> In the arch/powerpc/sysdev, the function mpic_alloc() has following call:
> 	mpic->irqhost = irq_alloc_host(of_node_get(node), IRQ_HOST_MAP_LINEAR,
> 				       isu_size, &mpic_host_ops,
> 				       flags & MPIC_LARGE_VECTORS ? 2048 : 256); 
> and it set the pointer to irqhost.
> 
> However, from 2.6.30 the location of the above irq_alloc_host() call was 
> move down in the source code, and mpic->irqhost is referenced inside 
> _mpic_map_dcr() before mpic->irqhost has been set.
> 
> I just decided not to use 2.6.30 for the QS2X series for now, but I 
> thought I should report the incident.

Ouch... thing have been moving in there, we may well have broken it,
I'll give it a go first thing tomorrow and get a fix in for 2.6.30.x
stable and later.

Thanks for the report !

Cheers,
Ben.





More information about the cbe-oss-dev mailing list