From: jbe@pengutronix.de (Juergen Borleis)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] i.MX25/35/SDHCI: switch off DMA usage
Date: Tue, 14 Apr 2015 11:42:00 +0200 [thread overview]
Message-ID: <201504141142.00237.jbe@pengutronix.de> (raw)
In-Reply-To: <20150327114400.GA20277@shlinux1.ap.freescale.net>
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/ |
next prev parent reply other threads:[~2015-04-14 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-27 10:52 [RFC] i.MX25/35/SDHCI: switch off DMA usage Juergen Borleis
2015-03-27 11:44 ` Dong Aisheng
2015-04-14 9:42 ` Juergen Borleis [this message]
2015-04-22 7:33 ` Dong Aisheng
2015-08-10 12:45 ` Alexander Stein
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=201504141142.00237.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).