[PATCH] ppc32: Workaround a cache flush issue on sleep
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 May 2005 01:22:34 +0000 (18:22 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 May 2005 01:22:34 +0000 (18:22 -0700)
commit15fd56867b6b94dc829d880bc078428eb41859c8
tree2cadd2a246de12dade57a75cc57c296070d58712
parent7da21a02b3587157bd43910ea6d4c76661228ebb
[PATCH] ppc32: Workaround a cache flush issue on sleep

We are experiencing a problem when flushing the CPU caches before sleep
on some laptop models using the 750FX CPU rev 1.X. While I haven't been
able to figure out a proper explanation for what's going on, I do have a
workaround that seem to work reliably and allows those machine to sleep
and wakeup properly again.

I'll re-update that code if/when I ever find exactly what is happening
with those CPU revisions.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/platforms/pmac_cache.S