From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Tue, 18 Dec 2012 10:07:39 +0000 Subject: [PATCH] ARM: cache: flush to LoUU instead of LoUIS on uniprocessor CPUs In-Reply-To: References: <1355760642-28559-1-git-send-email-will.deacon@arm.com> Message-ID: <20121218100738.GA9072@mudshark.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Dec 17, 2012 at 08:19:51PM +0000, Nicolas Pitre wrote: > 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 > > Tested-by: Guennadi Liakhovetski > > Signed-off-by: Will Deacon > > This should be a candidate for the stable tree. Yup, the same also goes for the other fix I posted yesterday (RealView EB). Cheers, Will