On PowerPC processors with non-coherent cache architectures the DMA
subsystem calls invalidate_dcache_range() before performing a DMA read
operation. If the address and length of the DMA buffer are not aligned
to a cache-line boundary this can result in memory outside of the DMA
buffer being
Original-Nachricht
Datum: Thu, 26 Jun 2008 17:29:05 +0800
Von: Andrew Lewis [EMAIL PROTECTED]
An: linuxppc-dev@ozlabs.org
CC: \'Andrew Lewis\' [EMAIL PROTECTED], [EMAIL PROTECTED]
Betreff: [PATCH/RFC] powerpc: prevent memory corruption due to cache
invalidation
On Thu, 2008-06-26 at 17:29 +0800, Andrew Lewis wrote:
On PowerPC processors with non-coherent cache architectures the DMA
subsystem calls invalidate_dcache_range() before performing a DMA read
operation. If the address and length of the DMA buffer are not aligned
to a cache-line boundary