Subject: Re: port-arm/36513: Pre-cache load length exceeds source memory area in memcpy
To: None <gnats-bugs@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: netbsd-bugs
Date: 06/20/2007 09:03:32
On Wednesday 20 June 2007 03:15, Hiroki Doshita wrote:

> Pre-cache load length exceeds source memory area in memcpy.
> Unrelated area is written back to memory, which causes
> some troubles.

Can you elaborate on the "some troubles" part? The source cacheline will 
not be marked dirty by pld, assuming it was already clean or not 
resident in the cache to begin with, so a write-back will not occur.

The only case I can think of where this *may* be an issue would be 
copying from a cacheable memory region which is shared with a 
DMA-capable device...

Cheers, Steve