Skip to contentSkip to conversation

Fix lockup accessing config space on G5

PATCH New Benjamin Herrenschmidt 1 participant 1 message Mar 11, 2004 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix lockup accessing config space on G5

Hi !

This patch fixes the code that workaround lockups when accessing the config space of devices on K2 when they are shut down. The code was there but in the wrong place ;) And a typo prevented the ohci1394 version of it from working.

===== arch/ppc64/kernel/pmac_feature.c 1.1 vs edited =====

arch/ppc64/kernel/pmac_feature.c +1 -1
@@ -221,7 +221,7 @@
 		mb();
 		k2_skiplist[1] = NULL;
 	} else {
-		k2_skiplist[0] = pdev;
+		k2_skiplist[1] = pdev;
 		mb();
 		MACIO_BIC(KEYLARGO_FCR1, K2_FCR1_FW_CLK_ENABLE);
 	}

===== arch/ppc64/kernel/pmac_pci.c 1.3 vs edited =====

arch/ppc64/kernel/pmac_pci.c +36 -29

107 lines not on this page · raw message