From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 15 Jul 2012 15:46:58 +0200 Subject: [U-Boot] i.MX dcache issues In-Reply-To: <386549548.1363378.1342303697853.JavaMail.root@advansee.com> References: <386549548.1363378.1342303697853.JavaMail.root@advansee.com> Message-ID: <5002C9D2.4050308@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15/07/2012 00:08, Beno?t Th?baudeau wrote: > On Sat, Jul 14, 2012 at 11:28:03PM +0200, Beno?t Th?baudeau wrote: >> Shouldn't the MMC/eSDHC drivers flush/invalidate the dcache ranges >> that they use >> for DMA operations? Not doing so would explain why stack-allocated >> buffers are >> more affected than buffers in unused RAM areas. > > That will help: > http://git.denx.de/?p=u-boot/u-boot-mmc.git;a=commitdiff;h=e576bd90f940806b989ffd666552081f17f032c8 This patch is merged into u-boot-mmc. It will flow to mainline by next Andy's (MMC custodian) pull request. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel 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 =====================================================================