[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130204171059.GE2637@n2100.arm.linux.org.uk>
Date: Mon, 4 Feb 2013 17:10:59 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Felipe Balbi <balbi@...com>
Cc: Sergei Shtylyov <sshtylyov@...sta.com>,
Matt Porter <mporter@...com>,
Linux DaVinci Kernel List
<davinci-linux-open-source@...ux.davincidsp.com>,
Chris Ball <cjb@...top.org>,
"Cousson, Benoit" <b-cousson@...com>,
Arnd Bergmann <arnd@...db.de>,
Linux Documentation List <linux-doc@...r.kernel.org>,
Tony Lindgren <tony@...mide.com>,
Devicetree Discuss <devicetree-discuss@...ts.ozlabs.org>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Linux MMC List <linux-mmc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Rob Herring <rob.herring@...xeda.com>,
Grant Likely <grant.likely@...retlab.ca>,
Vinod Koul <vinod.koul@...el.com>,
Rob Landley <rob@...dley.net>, Dan Williams <djbw@...com>,
Linux SPI Devel List
<spi-devel-general@...ts.sourceforge.net>,
Linux OMAP List <linux-omap@...r.kernel.org>,
Linux ARM Kernel List <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to
arm/common
On Mon, Feb 04, 2013 at 06:47:12PM +0200, Felipe Balbi wrote:
> Hi,
>
> On Mon, Feb 04, 2013 at 08:36:38PM +0300, Sergei Shtylyov wrote:
> > In my eyes, getting rid of the mess doesn't justify breaking the rules that
> > Russell formulated above.
>
> MUSB is no PCI, there is no single, standard interface to the DMA
> engine (unlike Synopsys' dwc-usb3 and dwc-usb2, where we don't use DMA
> engine), every DMA engine comes with its own set of registers, its own
> programming model and so forth.
Err, before you get too wrapped up in that argument... if you think there's
anything like a common hardware interface for DMA on PCI, you'd be wrong.
There isn't.
What there is is a bus protocol for it. How the device decides to perform
DMA is up to the device; there's no standard register definitions across
all devices. Yes, some classes have a standard register set (like USB,
and ATA) but others are totally device specific (eg, network chips).
However, on PCI, the DMA support is always integrated with the rest of
the device itself. That is not the case here.
So, bringing PCI up into this discussion is totally irrelevant. As I've
already explained, this was brought up in the _previous_ discussion as
a reason why _not_ to use the DMA engine API for this.
So, can we please leave PCI totally out of this? It didn't belong here
2-3 years ago, and it sure enough doesn't belong here now. It's nothing
but pure distraction. And the more this goes on, the more I can see,
yet again, the CPPI 4.1 going nowhere at all.
As I can see it, there's nothing more to talk about. The issue has been
extensively talked to death. What it needs now is not _more_ talk, it
needs someone to actually go and _do_ something useful with it.
I realise that may be difficult given the mess that TI must still be in
internally since the upheaval of OMAP, but it sounds like there's a
different group needing this stuff to work...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists