[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1406548584.8530.35.camel@smile.fi.intel.com>
Date: Mon, 28 Jul 2014 11:56:25 +0000
From: "Shevchenko, Andriy" <andriy.shevchenko@...el.com>
To: "arnd@...db.de" <arnd@...db.de>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Kweh, Hock Leong" <hock.leong.kweh@...el.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"eric.y.miao@...il.com" <eric.y.miao@...il.com>,
"mika.westerberg@...ux.intel.com" <mika.westerberg@...ux.intel.com>,
"haojian.zhuang@...il.com" <haojian.zhuang@...il.com>,
"Chew, Chiau Ee" <chiau.ee.chew@...el.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"chiauee85@...il.com" <chiauee85@...il.com>,
"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>,
"dvhart@...ux.intel.com" <dvhart@...ux.intel.com>,
"linux@....linux.org.uk" <linux@....linux.org.uk>
Subject: Re: [PATCH] spi/pxa2xx-pci: Enable DMA binding through device name
On Mon, 2014-07-28 at 14:06 +0300, Andy Shevchenko wrote:
> On Fri, 2014-07-25 at 17:55 +0200, Arnd Bergmann wrote:
> > On Friday 25 July 2014 13:45:47 Andy Shevchenko wrote:
[]
> > > > What I think you got wrong here (by following my bad advice) is the master
> > > > number. Looking at the code for dw_dma, I think src_master needs to be '1'
> > > > for your driver.
> > >
> > > On some SoCs we have up to 4 masters. It's blurry for me how the SPI
> > > should choose those masters. Currently it works fine, but I suspect
> > > there are [might be] performance issues.
> >
> > I think it works because the dw-dma defaults to the values used by
> > the specific implementation in your hardware.
[Missed in previous email]
Actually the defaults came from original driver for AVR32 case.
Regarding to DW DMA databook the AHB masters could be used each by any
channel, though it depends on what AHB layer is bound to (and
corresponding peripheral device).
Thus, like I said we might have the [minor] performance issues if we
use, for example, two out of four masters.
--
Andy Shevchenko <andriy.shevchenko@...el.com>
Intel Finland Oy
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Powered by blists - more mailing lists