[PATCH] ARM: cache: flush to LoUU instead of LoUIS on uniprocessor CPUs

Nicolas Pitre nico at fluxnic.net
Mon Dec 17 15:19:51 EST 2012


On Mon, 17 Dec 2012, Will Deacon wrote:

> flush_cache_louis flushes the D-side caches to the point of unification
> inner-shareable. On uniprocessor CPUs, this is defined as zero and
> therefore no flushing will take place. Rather than invent a new interface
> for UP systems, instead use our SMP_ON_UP patching code to read the
> LoUU from the CLIDR instead.
> 
> Cc: Lorenzo Pieralisi <Lorenzo.Pieralisi at arm.com>
> Tested-by: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
> Signed-off-by: Will Deacon <will.deacon at arm.com>

This should be a candidate for the stable tree.


Nicolas



More information about the linux-arm-kernel mailing list