[Cbe-oss-dev] intermittent trouble on startup on a QS22 with 2.6.30

Arnd Bergmann arnd at arndb.de
Fri Dec 11 22:52:31 EST 2009


On Friday 11 December 2009, Marcus G. Daniels wrote:
> I copied the apnet.[hc] from the 2.6.32 tree into the 2.6.30 tree and 
> rebuilt modules.  Before I had only copied the axon driver.  The apnet 
> interface now don't freeze as above.   The remaining mystery is why 
> 2.6.32 fails as it did..

As I mentioned, I did not test the code, so it's not that surprising.
Apparently, the NUMA layout changed between 2.6.30 and 2.6.30,
please try with this patch:

--- a/arch/powerpc/platforms/cell/pmu.c
+++ b/arch/powerpc/platforms/cell/pmu.c
@@ -381,7 +381,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) {


More information about the cbe-oss-dev mailing list