G5 pci probing regression

Christoph Hellwig hch at lst.de
Mon Sep 19 08:12:20 EST 2005


With current TOT the kernel crashes for me when loading the fusion
driver.  Investigation shows that:  the crash happens on the first mmio
access and was introduces between 2.6.13-git12 and 2.6.14-rc1.  It looks
like the OF-based PCI resource assignment changes, as a small patch like
the one below makes the driver works just fine again for me:


--- linux-2.6.14-rc1/arch/ppc64/kernel/pmac_setup.c	2005-09-18 23:50:26.000000000 +0200
+++ linux-2.6.14-rc1/arch/ppc64/kernel/pmac_setup.c	2005-09-18 23:50:49.000000000 +0200
@@ -483,7 +483,7 @@
 
 	/* We need to use normal PCI probing for the AGP bus,
 	   since the device for the AGP bridge isn't in the tree. */
-	if (bus->self == NULL && device_is_compatible(node, "u3-agp"))
+//	if (bus->self == NULL && device_is_compatible(node, "u3-agp"))
 		return PCI_PROBE_NORMAL;
 
 	return PCI_PROBE_DEVTREE;



More information about the Linuxppc64-dev mailing list