iBook G3 owners
    Andreas Schwab 
    schwab at suse.de
       
    Fri Apr  8 08:05:49 EST 2005
    
    
  
Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> http://gate.crashing.org/~benh/ppc32-pmac-sleep-fix.diff
This patch does not work on the 750fx, I'm getting random crashes on
wakeup.  When I replace it with this one-liner, all is well again:
--- linux-2.6.12-rc2.orig/arch/ppc/platforms/pmac_cache.S	2005-04-04 23:05:41.000000000 +0200
+++ linux-2.6.12-rc2/arch/ppc/platforms/pmac_cache.S	2005-04-07 23:22:04.000000000 +0200
@@ -73,7 +73,7 @@
 
 	/* disable / invalidate / enable L1 data */
 	mfspr	r3,SPRN_HID0
-	rlwinm	r0,r0,0,~HID0_DCE
+	rlwinm	r3,r3,0,~(HID0_DCE | HID0_ICE)
 	mtspr	SPRN_HID0,r3
 	sync
 	isync
Andreas.
-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
    
    
More information about the Linuxppc-dev
mailing list