[PATCH] armv6: invalidate cache onDMA_FROM_DEVICE/DMA_BIDIRECTIONAL

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jan 14 12:48:52 EST 2010


On Thu, Jan 14, 2010 at 05:47:51PM +0000, Catalin Marinas wrote:
> On Fri, 2010-01-08 at 23:06 +0000, Woodruff, Richard wrote:
> > 
> > > From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-kernel-
> > > bounces at lists.infradead.org] On Behalf Of Russell King - ARM Linux
> > > Sent: Monday, December 21, 2009 6:45 AM
> > 
> > > I was thinking about doing this for ARMv6, but I thought the concensus
> > > was that ARMv6 didn't have speculative prefetching.
> > 
> > If you bolt on a unified L2 cache won't normal branch prediction
> > result in some possible erroneous data in L2 cache range (assume mmu
> > execution flag is set I suppose)?
> 
> I think that's possible, in which case we should treat ARMv6 in a
> similar way to ARMv7, in case we have an external L2 cache.

My patches already do.



More information about the linux-arm-kernel mailing list