]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf51c5d7955e51564dbad10f2c50391523165bc51
treea43d483cf144eb0f770a6e2e8ac9f721965a7fa9
parentc9e405e37e2f747a2406d43ebfe0051d41c89ad9
[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