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

2015-07-20 Thread Marek Vasut
On Tuesday, July 21, 2015 at 02:27:43 AM, Peng Fan wrote: > Hi Marek, > > On Mon, Jul 20, 2015 at 09:27:35PM +0200, Marek Vasut wrote: > >On Monday, July 20, 2015 at 11:40:22 AM, Peng Fan wrote: > >> Follow linux dma follow: > >Nit: "flow" at the end, not "follow" ;-) > > Thanks. > Do you have a

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

2015-07-20 Thread Peng Fan
Hi Marek, On Mon, Jul 20, 2015 at 09:27:35PM +0200, Marek Vasut wrote: >On Monday, July 20, 2015 at 11:40:22 AM, Peng Fan wrote: >> Follow linux dma follow: > >Nit: "flow" at the end, not "follow" ;-) Thanks. Do you have a chance to review this patch, https://patchwork.ozlabs.org/patch/497619/ ? >

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

2015-07-20 Thread Marek Vasut
On Monday, July 20, 2015 at 11:40:22 AM, Peng Fan wrote: > Follow linux dma follow: Nit: "flow" at the end, not "follow" ;-) > 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. >

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

2015-07-20 Thread Peng Fan
Follow linux dma follow: 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 --- drivers/mtd/nand/mxs_nand.c | 6 ++ 1 file changed, 6 insertions(+) diff -