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

Akira Tsukamoto akirat at rd.scei.sony.co.jp
Thu Jun 18 09:13:09 EST 2009


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.

Regards,

Akira





More information about the cbe-oss-dev mailing list