[PATCH] ARM: cns3xxx: Add support for L2 Cache Controller

Arnd Bergmann arnd at arndb.de
Wed Jul 6 10:23:51 EDT 2011


On Wednesday 06 July 2011, Anton Vorontsov wrote:
> CNS3xxx SOCs have L310-compatible cache controller, so let's use it.
> 
> With this patch benchmarking with 'gzip' shows that performance is
> doubled, and I'm still able to boot full-fledged userland over NFS
> (using PCIe NIC), so the support should be pretty robust.
> 
> Signed-off-by: Anton Vorontsov <avorontsov at mvista.com>
> ---
> 
> I'm going to apply it to linux-cns3xxx.git tree and push it (via Arnd)
> for v3.1 , if there will be no complains, of course.

I think there is a small problem you should fix first, but otherwise
it's ok.

The problem is that CONFIG_CACHE_L2X0 is a compile-time option that
can be disabled. Your code will not link correctly if it's turned off,
so you need to contitionalize it on that Kconfig symbol.

	Arnd



More information about the linux-arm-kernel mailing list