shared memory problem on ARM v5TE using threads

Nicolas Pitre nico at fluxnic.net
Mon Dec 7 10:24:06 EST 2009


On Mon, 7 Dec 2009, Ronen Shitrit wrote:

> From: Heiko Schocher [mailto:hs at denx.de] 
> > Hello Ronen,
> > 
> > Ronen Shitrit wrote:
> > > It's definitely this issue. 
> > > If I disable L2 everything works.
> > 
> > How did you exactly disabled the L2 Cache? And on which system
> > did you this test?
> 
> Disable CONFIG_CACHE_FEROCEON_L2 in the config.
> I'm using KW-DB kernel 2.6.31.4.

Beware that if you're using the original Marvell provided U-Boot, you 
need to disable L2 in the kernel _and_ in the U-Boot environment.  If 
L2 is disabled in the kernel but not in U-Boot then stranger things may 
happen.  Best thing to do is to keep L2 in U-Boot always disabled and 
let the kernel enable it as needed.


Nicolas



More information about the linux-arm-kernel mailing list