From: "Shevchenko, Andriy" <andriy.shevchenko@intel.com>
To: "arnd@arndb.de" <arnd@arndb.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Kweh, Hock Leong" <hock.leong.kweh@intel.com>,
"broonie@kernel.org" <broonie@kernel.org>,
"eric.y.miao@gmail.com" <eric.y.miao@gmail.com>,
"mika.westerberg@linux.intel.com"
<mika.westerberg@linux.intel.com>,
"haojian.zhuang@gmail.com" <haojian.zhuang@gmail.com>,
"Chew, Chiau Ee" <chiau.ee.chew@intel.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"chiauee85@gmail.com" <chiauee85@gmail.com>,
"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
"dvhart@linux.intel.com" <dvhart@linux.intel.com>,
"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>
Subject: Re: [PATCH] spi/pxa2xx-pci: Enable DMA binding through device name
Date: Mon, 28 Jul 2014 11:56:25 +0000 [thread overview]
Message-ID: <1406548584.8530.35.camel@smile.fi.intel.com> (raw)
In-Reply-To: <1406545580.8530.28.camel@smile.fi.intel.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1756 bytes --]
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@intel.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.
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2014-07-28 11:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-24 10:01 [PATCH] spi/pxa2xx-pci: Enable DMA binding through device name Kweh Hock Leong
2014-07-24 11:18 ` Andy Shevchenko
2014-07-24 11:42 ` Arnd Bergmann
2014-07-24 14:06 ` Mika Westerberg
2014-07-25 7:11 ` Mika Westerberg
2014-07-25 7:58 ` Arnd Bergmann
2014-07-25 8:22 ` Mika Westerberg
2014-07-25 8:38 ` Arnd Bergmann
2014-07-25 9:07 ` Mika Westerberg
2014-07-25 9:55 ` Mika Westerberg
2014-07-25 10:19 ` Arnd Bergmann
2014-07-25 10:45 ` Andy Shevchenko
2014-07-25 15:55 ` Arnd Bergmann
2014-07-25 21:45 ` One Thousand Gnomes
2014-07-28 11:06 ` Andy Shevchenko
2014-07-28 11:56 ` Shevchenko, Andriy [this message]
2014-07-28 12:47 ` Arnd Bergmann
2014-07-28 13:34 ` Andy Shevchenko
2014-07-28 14:02 ` Arnd Bergmann
2014-07-28 9:28 ` Mika Westerberg
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=1406548584.8530.35.camel@smile.fi.intel.com \
--to=andriy.shevchenko@intel.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=chiau.ee.chew@intel.com \
--cc=chiauee85@gmail.com \
--cc=dvhart@linux.intel.com \
--cc=eric.y.miao@gmail.com \
--cc=haojian.zhuang@gmail.com \
--cc=hock.leong.kweh@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mika.westerberg@linux.intel.com \
/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