All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix sleep/wakeup problems on iBook G3
@ 2005-03-27 22:55 Benjamin Herrenschmidt
  2005-03-29 19:07 ` Graham Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2005-03-27 22:55 UTC (permalink / raw)
  To: linuxppc-dev list, debian-powerpc@lists.debian.org

Hi !

There have been various reports lately of sleep beeing broken on iBook
G3. Frank (no name provided here) found a typo in my code that cleans
the L1 cache on these CPU models. This patch fixes it, I'd appreciate
some feedback about wether that fixes the problem or not.

Ben.

Index: linux-work/arch/ppc/platforms/pmac_cache.S
===================================================================
--- linux-work.orig/arch/ppc/platforms/pmac_cache.S	2005-03-15 11:56:42.000000000 +1100
+++ linux-work/arch/ppc/platforms/pmac_cache.S	2005-03-28 08:51:46.000000000 +1000
@@ -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
 	mtspr	SPRN_HID0,r3
 	sync
 	isync

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-29 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-27 22:55 [PATCH] Fix sleep/wakeup problems on iBook G3 Benjamin Herrenschmidt
2005-03-29 19:07 ` Graham Wilson
2005-03-29 22:04   ` Benjamin Herrenschmidt
2005-03-29 22:45     ` Graham Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.