Thread (1 message) 1 message, 1 author, 2005-12-02

Re: pq2_find_bridges hangs system

From: Kalle Pokki <hidden>
Date: 2005-12-02 14:09:40

Alex BASTOS wrote:
The Tranfer Error makes not many sense for me, as _TEA is pulled-up.
Maybe the oops after that is caused by the bad call return point?
 
I remember using this to prevent machine check exceptions during the PCI scan. This is in the beginning of the pciauto_bus_scan() function.
--- trunk/linux/arch/ppc/syslib/pci_auto.c	(revision 127)
+++ trunk/linux/arch/ppc/syslib/pci_auto.c	(revision 128)
@@ -382,6 +382,10 @@
	unsigned short vid;
	unsigned char header_type;

+
+	/* must ignore machine checks during scan */
+	*(volatile unsigned short *) 0xf0010888 &= ~0x0800;
+
	/*
	 * Fetch our I/O and memory space upper boundaries used
	 * to allocated base addresses on this hose.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help