[PATCH] ppc: L2 cache prefetch fixes on 745x
authorKumar Gala <kumar.gala@freescale.com>
Wed, 31 Aug 2005 04:54:47 +0000 (14:54 +1000)
committerLinus Torvalds <torvalds@evo.osdl.org>
Thu, 1 Sep 2005 17:52:29 +0000 (10:52 -0700)
commit80ac2912f846c01d702774bb6aa7100ec71e88b9
treea43d483cf144eb0f770a6e2e8ac9f721965a7fa9
parent8085ce084c0f0144c353963853f81486fc331120
[PATCH] ppc: L2 cache prefetch fixes on 745x

We run into problems if we blindly enable L2 prefetching without
checking that the L2 cache is actually enabled.  Additionaly, if we
disable the L2 cache we need to ensure that we disable L2 prefetching.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/cpu_setup_6xx.S
arch/ppc/kernel/l2cr.S