Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to