[patch 2/2] arm: Implement l2x0 cache disable function

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jul 2 13:23:17 EDT 2010


On Fri, Jul 02, 2010 at 05:54:40PM +0100, Catalin Marinas wrote:
> On Fri, 2010-07-02 at 17:39 +0100, Thomas Gleixner wrote:
> > Simply because you need to flush the cache in the decompressor of the
> > new kernel before jumping into it and I doubt that Russell will be
> > happy about adding an utter L2 mess to the decompressor.
> 
> The decompressor can create mappings as inner cacheable outer
> non-cacheable and it would not pollute the L2 cache.

Doesn't solve the problem of boot loaders.  Doesn't solve the problem
that there may be dirty cache lines left in the L2 cache which could
be searched.

There's too many "implementation" possibilities to bite us.  The only
safe thing to do is to disable the L2 cache.



More information about the linux-arm-kernel mailing list