From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V4 03-1/13] DMA: PL330: Support DMA_SLAVE_CONFIG command
Date: Thu, 21 Jul 2011 16:28:38 +0100 [thread overview]
Message-ID: <20110721152838.GF28942@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CABb+yY2wTj5i-koQhD+dqNWaL4TvUYk1XP3YT0jE3oDZT57U4g@mail.gmail.com>
On Thu, Jul 21, 2011 at 07:58:03PM +0530, Jassi Brar wrote:
> While that does make sense, it makes mandatory the ritual of calling
> DMA_SLAVE_CONFIG mandatory for most of the cases.
> And I think the effort to set fifo_addr for peripherals is overrated.
You have to do that anyway. You're dealing with DMA engine drivers which
you don't know the implementation details of.
Think about it for a moment, please. The point of the DMA engine
abstraction is to make DMA users independent of the DMA engine actually
being used.
That means all DMA engine drivers and all DMA engine users have to
provide a basic set of information to allow them to interact with each
other.
Encoding random bits of information into inappropriate places like FIFO
addresses into DMA engine platform data just means you might was well
stay with your private API, because that driver may never be able to
work with another DMA engine implementation.
So please, either do the job properly, or don't waste peoples time with
a half hearted mess of inappropriate platform data.
next prev parent reply other threads:[~2011-07-21 15:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 10:46 [PATCH V4 00/13] To use DMA generic APIs for Samsung DMA Boojin Kim
2011-07-20 10:46 ` [PATCH V4 01/13] DMA: PL330: Add support runtime PM for PL330 DMAC Boojin Kim
2011-07-20 18:35 ` Jassi Brar
2011-07-20 10:46 ` [PATCH V4 03-1/13] DMA: PL330: Support DMA_SLAVE_CONFIG command Boojin Kim
2011-07-20 19:17 ` Jassi Brar
2011-07-21 4:13 ` Boojin Kim
2011-07-21 5:00 ` Jassi Brar
2011-07-21 6:34 ` Boojin Kim
2011-07-21 7:31 ` Jassi Brar
2011-07-21 8:11 ` Russell King - ARM Linux
2011-07-21 9:14 ` Jassi Brar
2011-07-21 10:23 ` Linus Walleij
2011-07-21 14:28 ` Jassi Brar
2011-07-21 15:28 ` Russell King - ARM Linux [this message]
2011-07-22 13:59 ` Linus Walleij
2011-07-21 11:29 ` Russell King - ARM Linux
2011-07-21 15:12 ` Jassi Brar
2011-07-21 15:23 ` Russell King - ARM Linux
2011-07-21 15:56 ` Jassi Brar
2011-07-21 16:02 ` Russell King - ARM Linux
2011-07-22 5:42 ` Jassi Brar
2011-07-25 2:10 ` Boojin Kim
2011-07-20 10:46 ` [PATCH V4 03-2/13] DMA: PL330: Add DMA_CYCLIC capability Boojin Kim
2011-07-20 10:46 ` [PATCH V4 05/13] ARM: SAMSUNG: Add common DMA operations Boojin Kim
2011-07-20 16:04 ` [PATCH V4 00/13] To use DMA generic APIs for Samsung DMA Kukjin Kim
2011-07-22 12:07 ` Koul, Vinod
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=20110721152838.GF28942@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