[PATCH 7/9] ARM: Improve the L2 cache performance when PL310 is used
From: Russell King - ARM Linux <hidden>
Date: 2010-09-13 11:36:07
From: Russell King - ARM Linux <hidden>
Date: 2010-09-13 11:36:07
On Tue, Aug 31, 2010 at 02:58:41PM +0100, Catalin Marinas wrote:
With this L2 cache controller, the cache maintenance by PA and sync operations are atomic and do not require a "wait" loop. This patch conditionally defines the cache_wait() function. Since L2x0 cache controllers do not work with ARMv7 CPUs, the patch automatically enables CACHE_PL310 when only CPU_V7 is defined.
This should be a run-time test, as we're moving towards integrating ARMv6 and ARMv7 support into a single kernel image.