From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: Improve MMC performance on Versatile Express
Date: Mon, 24 Jan 2011 13:35:13 +0000 [thread overview]
Message-ID: <20110124133513.GL16202@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <000001cbbbc2$0e815e80$2b841b80$@moll@arm.com>
On Mon, Jan 24, 2011 at 12:27:16PM -0000, Pawel Moll wrote:
> So - we'll try to enlarge FIFO. For the moment - playing with interrupts
> affinity seem to be a viable workaround.
I don't think enlarging the FIFO will help too much. The issue is
whether the CPU can keep up with the data rate coming off the card.
If it can't, then no matter how large the FIFO is, it will eventually
overflow.
The real answer is to avoid PIO mode, and use DMA support. However,
I've had problems using DMA on the ARM development boards. You can
find details my DMA issues internally within ARM by talking to Catalin.
The alternative answer, I believe implemented by some of ARMs silicon
partners, is to turn the card clock off when the FIFO becomes full/empty
to stop it sending more data. I think this violates some of the MMC/SD
requirements, but it seems to work for the silicon partners just fine.
next prev parent reply other threads:[~2011-01-24 13:35 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 13:59 [PATCH] arm: Improve MMC performance on Versatile Express Pawel Moll
2011-01-21 15:09 ` Sergei Shtylyov
2011-01-21 19:59 ` Nicolas Pitre
2011-01-21 21:51 ` Russell King - ARM Linux
2011-01-21 22:20 ` Nicolas Pitre
2011-01-21 22:29 ` Russell King - ARM Linux
2011-02-01 14:29 ` Linus Walleij
2011-02-01 17:25 ` Pawel Moll
2011-01-24 12:27 ` Pawel Moll
2011-01-24 13:35 ` Russell King - ARM Linux [this message]
2011-01-24 16:13 ` Pawel Moll
2011-01-24 16:24 ` Russell King - ARM Linux
2011-01-24 16:30 ` Russell King - ARM Linux
2011-01-24 16:39 ` Pawel Moll
2011-01-24 16:53 ` Russell King - ARM Linux
2011-01-24 17:03 ` Russell King - ARM Linux
2011-01-24 17:54 ` Pawel Moll
2011-01-24 18:09 ` Russell King - ARM Linux
2011-01-24 19:59 ` Pawel Moll
2011-01-24 23:10 ` Russell King - ARM Linux
2011-02-01 11:18 ` Russell King - ARM Linux
2011-02-01 13:34 ` Pawel Moll
2011-02-01 14:28 ` Russell King - ARM Linux
2011-02-01 17:25 ` Pawel Moll
2011-02-03 14:15 ` Linus Walleij
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=20110124133513.GL16202@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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).