From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mxs/dma: Enlarge the CCW descriptor area to 4 pages
Date: Fri, 14 Sep 2012 09:30:50 +0100 [thread overview]
Message-ID: <20120914083050.GA12245@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1347591975.1943.12.camel@vkoul-udesk3>
On Fri, Sep 14, 2012 at 08:36:15AM +0530, Vinod Koul wrote:
> On Wed, 2012-09-05 at 03:46 +0200, Marek Vasut wrote:
> > One way to fix this is to recycle descriptors that were already used during the
> > transfer, but can we really do it fast enough, so the DMA would do it's job at
> > one end of the descriptor chain and we'd be building the other?
> See the comment in dma_ctrl_flags:
> * @DMA_CTRL_ACK - if clear, the descriptor cannot be reused until the client
> * acknowledges receipt, i.e. has has a chance to establish any dependency
> * chains
> Setting this would mean that driver can reuse the descriptor once the
> transaction has completed.
Actually, that has little meaning for slave DMA descriptors (other than
it should already be set for consistency with the async_tx stuff, which
has the above mentioned depenedency chains.)
Once completed, descriptors can be reused irrespective of the above flag.
next prev parent reply other threads:[~2012-09-14 8:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 4:04 [PATCH] mxs/dma: Enlarge the CCW descriptor area to 4 pages Marek Vasut
2012-09-05 1:40 ` Shawn Guo
2012-09-05 1:46 ` Marek Vasut
2012-09-05 2:39 ` Shawn Guo
2012-09-05 2:57 ` Marek Vasut
2012-09-14 3:06 ` Vinod Koul
2012-09-14 7:57 ` Marek Vasut
2012-09-14 8:30 ` Russell King - ARM Linux [this message]
2012-09-14 8:56 ` Vinod Koul
2012-09-14 3:06 ` Vinod Koul
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=20120914083050.GA12245@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).