From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Linus Walleij <linus.ml.walleij@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>,
Linus WALLEIJ <linus.walleij@stericsson.com>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
Grant Likely <grant.likely@secretlab.ca>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
STEricsson_nomadik_linux <STEricsson_nomadik_linux@list.st.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 00/11] ARM: PrimeCell DMA Interface v5
Date: Sun, 2 May 2010 09:18:44 +0100 [thread overview]
Message-ID: <20100502081844.GA7061@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <r2u63386a3d1005011721v66d04172nc0e5163115006267@mail.gmail.com>
On Sun, May 02, 2010 at 02:21:13AM +0200, Linus Walleij wrote:
> Yep, that's where it kicks in. (What's the name of this DMA controller
> BTW? Is that PL080?)
It's one of the standard ARM primecells, with a FPGA controlling the
routing of the first three channels.
> (I read it as MMCI is bidirectional also on the Versatile, as it is
> on the U300.)
There are two MMCIs on Versatile.
> However: this way of using the DMA dynamically instead of statically
> leads to the situation where a UART or two MMCs are using up the
> DMA channels and AACI cannot use it, and need to fall back to
> interrupts. Since the Audio traffic is likely to be more important, this
> is perhaps not so optimal, so a static assignment of DMA channels
> may be desired after all in a practical scenario.
Such a scenario leads to two of the three channels assigned to AACI
(one for playback and the other for record - remember, it's full duplex),
leaving one to be shared between the UART Tx and Rx, and two MMCIs.
I'd disagree with you and say that MMCI would be more important than
AACI. The data rate for MMCI is far higher than AACI - and remember
ARM MMCIs overflow if you don't read the data fast enough. The MMCI
fmax parameter only exists to put a cap on the rate of the transfer
so that the CPU can read the data fast enough in PIO mode.
However, you only need DMA for MMCI if there's a card inserted in the
slot. If there's no card in the slot, there's no point starving AACI
of a DMA channel if that's what is being used.
next prev parent reply other threads:[~2010-05-02 8:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-07 23:12 [PATCH 00/11] ARM: PrimeCell DMA Interface v5 Linus Walleij
2010-04-07 23:45 ` Dan Williams
2010-04-08 6:35 ` Linus WALLEIJ
2010-04-11 14:13 ` Linus Walleij
2010-04-12 19:23 ` Russell King - ARM Linux
2010-04-15 1:15 ` Dan Williams
2010-04-17 4:58 ` Linus Walleij
2010-04-22 11:00 ` Russell King - ARM Linux
2010-04-30 18:30 ` Linus Walleij
2010-05-01 22:00 ` Dan Williams
2010-05-01 22:27 ` Linus Walleij
2010-05-01 22:44 ` Russell King - ARM Linux
2010-05-01 23:04 ` Linus Walleij
2010-05-01 23:28 ` Russell King - ARM Linux
2010-05-02 0:21 ` Linus Walleij
2010-05-02 8:18 ` Russell King - ARM Linux [this message]
2010-05-04 13:05 ` Linus WALLEIJ
2010-05-01 23:28 ` Dan Williams
2010-05-01 23:48 ` Linus Walleij
2010-05-01 23:25 ` Dan Williams
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=20100502081844.GA7061@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=STEricsson_nomadik_linux@list.st.com \
--cc=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=grant.likely@secretlab.ca \
--cc=linus.ml.walleij@gmail.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.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).