Re: [U-Boot] [PATCH V2 3/3] mtd: nand: mxs invalidate dcache before DMA read

2015-07-31 Thread Marek Vasut
On Friday, July 31, 2015 at 04:49:50 PM, Tim Harvey wrote: > On Tue, Jul 21, 2015 at 1:15 AM, Peng Fan wrote: > > Follow linux dma flow: > > Before DMA read, be sure to invalidate the cache over the address > > range of DMA buffer to prevent cache coherency problems. > > After DMA read, invalidate

Re: [U-Boot] [PATCH V2 3/3] mtd: nand: mxs invalidate dcache before DMA read

2015-07-31 Thread Tim Harvey
On Tue, Jul 21, 2015 at 1:15 AM, Peng Fan wrote: > Follow linux dma flow: > Before DMA read, be sure to invalidate the cache over the address > range of DMA buffer to prevent cache coherency problems. > After DMA read, invalidate dcache again. > > Signed-off-by: Peng Fan > Acked-by: Marek Vasut

Re: [U-Boot] [PATCH V2 3/3] mtd: nand: mxs invalidate dcache before DMA read

2015-07-21 Thread Marek Vasut
On Tuesday, July 21, 2015 at 10:15:21 AM, Peng Fan wrote: > Follow linux dma flow: > Before DMA read, be sure to invalidate the cache over the address > range of DMA buffer to prevent cache coherency problems. > After DMA read, invalidate dcache again. > > Signed-off-by: Peng Fan > Acked-by: Mare

[U-Boot] [PATCH V2 3/3] mtd: nand: mxs invalidate dcache before DMA read

2015-07-21 Thread Peng Fan
Follow linux dma flow: Before DMA read, be sure to invalidate the cache over the address range of DMA buffer to prevent cache coherency problems. After DMA read, invalidate dcache again. Signed-off-by: Peng Fan Acked-by: Marek Vasut --- Changes v2: Add Marek's Acked by drivers/mtd/nand/mxs_n