High Latency in PL310 L2 cache maintenance operations

Catalin Marinas catalin.marinas at arm.com
Tue Sep 28 10:50:47 EDT 2010


On Tue, 2010-09-28 at 15:49 +0100, Catalin Marinas wrote:
> On Tue, 2010-09-28 at 14:25 +0100, hashim alig wrote:
> > I am using linux-2.6.32 kernel on a platform which is ARM-Cortex A9
> > SMP (dual core, each at 500 MHz) with PL310 as the L2 cache. I observe
> > high latency in cache maintainance operations (both invalidation and
> > clean) which is around 90 cycles for every cache line (32 bytes).
> > Is it normal? What should be the practical range ?
> > I also tried with linux-2.6.35 over which I applied few L2 patches
> > from Catalin but observation remains same.
> 
> Have you applied this patch from Will Deacon:
> 
> http://www.linux-arm.org/git?p=linux-2.6-stable.git;a=commitdiff;h=c3d0fd52ce0c36836aefd53ce9b25f193daa2e5e

Forgot to mention - this patch is for Versatile Express, you would need
to do something similar in your platform. We can't really set the
default values in the l2x0 code since these latencies depend on the
hardware configuration.

-- 
Catalin




More information about the linux-arm-kernel mailing list