public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 03/15][v3] imx: mmc: fsl_esdhc fix dcache issue
Date: Sun, 26 Jul 2015 16:05:21 +0200	[thread overview]
Message-ID: <55B4E921.60209@denx.de> (raw)
In-Reply-To: <1437603903-2304-2-git-send-email-aalonso@freescale.com>

Hi Adrian,

On 23/07/2015 00:24, Adrian Alonso wrote:
> DCIMVAC is upgraded to DCCIMVAC for the individual processor
> (Cortex-A7) that the DCIMVAC is executed on.
> 
> We should follow the linux dma follow. Before DMA read, first
> invalidate dcache then after DMA read, invalidate dcache again.
> 
> With the DMA direction DMA_FROM_DEVICE, the dcache need be
> invalidated again after the DMA completion. The reason is
> that we need explicity make sure the dcache been invalidated
> thus to get the DMA'ed memory correctly from the physical memory.
> Any cache-line fill during the DMA operations such as the
> pre-fetching can cause the DMA coherency issue, thus CPU get the stale data.
> 

Pen has already sent this patch:

	https://patchwork.ozlabs.org/patch/488273/

Please do not copy and resend patches that are already enqueded.
Instead, advise that your patches depend on some previous ones. Thanks.

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2015-07-26 14:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 22:24 [U-Boot] [PATCH 01/15][v3] power: pmic: add pfuze3000 support Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 03/15][v3] imx: mmc: fsl_esdhc fix dcache issue Adrian Alonso
2015-07-26 14:05   ` Stefano Babic [this message]
2015-07-22 22:24 ` [U-Boot] [PATCH 04/15][v3] imx: iomux-v3: add imx7d support for iomuxc Adrian Alonso
2015-07-26 14:15   ` Stefano Babic
2015-07-27 15:58     ` Alonso Adrian
2015-07-22 22:24 ` [U-Boot] [PATCH 05/15][v3] imx: mxc_gpio: add support for imx7d SoC Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 06/15][v3] imx: ocotp: mxc add i.MX7D support Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 07/15][v3] imx: mx7 dm thermal driver support Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 08/15][v3] imx: system counter driver for imx7d and mx6ul Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 09/15][v3] imx: imx7d: initial arch level support Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 10/15][v3] imx: imx7d: clock control module support Adrian Alonso
2015-07-22 22:24 ` [U-Boot] [PATCH 11/15][v3] imx: imx7d: Add SoC system support Adrian Alonso
2015-07-22 22:25 ` [U-Boot] [PATCH 12/15][v3] imx: imx7d: add hab secure boot support Adrian Alonso
2015-07-22 22:25 ` [U-Boot] [PATCH 13/15][v3] imx: imx7d: add timer support for imx7d Adrian Alonso
2015-07-22 22:25 ` [U-Boot] [PATCH 14/15][v3] imx: imx7d: add imx-common cpu " Adrian Alonso
2015-07-22 22:25 ` [U-Boot] [PATCH 15/15][v3] imx: mx7dsabresd: Add support for MX7D SABRESD board Adrian Alonso

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=55B4E921.60209@denx.de \
    --to=sbabic@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox