From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Tue, 21 Jul 2015 08:27:43 +0800 Subject: [U-Boot] [PATCH 3/3] mtd: nand: mxs invalidate dcache before DMA read In-Reply-To: <201507202127.35907.marex@denx.de> References: <1437385222-23921-1-git-send-email-Peng.Fan@freescale.com> <1437385222-23921-3-git-send-email-Peng.Fan@freescale.com> <201507202127.35907.marex@denx.de> Message-ID: <20150721002739.GA23866@shlinux2> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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/ ? > >> 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 > >Best regards, >Marek Vasut Thanks, Peng --