All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <b51431@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] mtd: nand: mxs invalidate dcache before DMA read
Date: Tue, 21 Jul 2015 08:27:43 +0800	[thread overview]
Message-ID: <20150721002739.GA23866@shlinux2> (raw)
In-Reply-To: <201507202127.35907.marex@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 <Peng.Fan@freescale.com>
>
>Acked-by: Marek Vasut <marex@denx.de>
>
>Best regards,
>Marek Vasut

Thanks,
Peng
-- 

  reply	other threads:[~2015-07-21  0:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20  9:40 [U-Boot] [PATCH resend 1/3] mtd: nand: mxs support oobsize bigger than 512 Peng Fan
2015-07-20  9:40 ` [U-Boot] [PATCH 2/3] mtd: nand: mxs check maximum ecc that platfrom supports Peng Fan
2015-07-21  1:57   ` Marek Vasut
2015-07-20  9:40 ` [U-Boot] [PATCH 3/3] mtd: nand: mxs invalidate dcache before DMA read Peng Fan
2015-07-20 19:27   ` Marek Vasut
2015-07-21  0:27     ` Peng Fan [this message]
2015-07-21  1:56       ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150721002739.GA23866@shlinux2 \
    --to=b51431@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.