[PATCH] ARM: Improve the L2 cache performance when PL310 is used

Colin Tuckley colin.tuckley at arm.com
Tue Mar 9 05:30:01 EST 2010


> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-
> kernel-bounces at lists.infradead.org] On Behalf Of Catalin Marinas


> With this L2 cache controller, the cache maintenance by PA and sync
> operations are atomic and do not require a "wait" loop or spinlocks.
> This patch conditionally defines the cache_wait() function and locking
> primitives (rather than duplicating the functions or file).
> 
> Since L2x0 cache controllers do not work with ARMv7 CPUs, the patch
> automatically enables CACHE_PL310 when CPU_V7 is defined.

That will cause a problem with A8 CPUs which are V7 but which do *not* use a
PL310 for the L2 cache.

Colin





More information about the linux-arm-kernel mailing list