Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753822AbbDNJju (ORCPT ); Tue, 14 Apr 2015 05:39:50 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:49380 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbbDNJjm convert rfc822-to-8bit (ORCPT ); Tue, 14 Apr 2015 05:39:42 -0400 From: Juergen Borleis Organization: Pengutronix e.K. To: Dong Aisheng Subject: Re: [RFC] i.MX25/35/SDHCI: switch off DMA usage Date: Tue, 14 Apr 2015 11:42:00 +0200 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) Cc: linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Ball , Ulf Hansson , Shawn Guo , linux-kernel@vger.kernel.org References: <201503271152.04348.jbe@pengutronix.de> <20150327114400.GA20277@shlinux1.ap.freescale.net> In-Reply-To: <20150327114400.GA20277@shlinux1.ap.freescale.net> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <201504141142.00237.jbe@pengutronix.de> X-SA-Exim-Connect-IP: 2001:6f8:1178:4:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: jbe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1459 Lines: 34 Hi, On Friday 27 March 2015 12:44:03 Dong Aisheng wrote: > On Fri, Mar 27, 2015 at 11:52:04AM +0100, Juergen Borleis wrote: > > DMA and the required overhead on very small data blocks seems an > > expensive operation. Due to erratum ENGCM07207 for i.MX25 and i.MX35 SoCs > > the support for multiblock transfers is disabled which results into a > > huge amount of single 512 byte sector transfers and interrupts. This > > slows down the transmission speed to below 500 kiB/s (even at 50 MHz SD > > card clock). Using PIO instead of DMA to avoid ENGCM07207 happens and > > re-enabling multiblock transfers again improve the transmission > > capability up to about 2.5 MiB/s. > > > > I'm still not sure if ENGCM07207 is related to DMA only and can not > > happen when PIO is used instead. Someone out there with experience > > regarding this topic? > > The errata does not state it's related to DMA only. > http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf > I could double check with our IC guys to confirm it. Gentle ping. Regards, Juergen -- Pengutronix e.K. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| Juergen Borleis ? ? ? ? ? ? | Industrial Linux Solutions ? ? ?| http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/