From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
linux-arm-kernel@lists.infradead.org,
Kweh Hock Leong <hock.leong.kweh@intel.com>,
Eric Miao <eric.y.miao@gmail.com>,
Russell King <linux@arm.linux.org.uk>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Mark Brown <broonie@kernel.org>,
Chew Chiau Ee <chiau.ee.chew@intel.com>,
Darren Hart <dvhart@linux.intel.com>,
chiauee85@gmail.com, linux-kernel@vger.kernel.org,
linux-spi@vger.kernel.org
Subject: Re: [PATCH] spi/pxa2xx-pci: Enable DMA binding through device name
Date: Fri, 25 Jul 2014 13:45:47 +0300 [thread overview]
Message-ID: <1406285147.8530.13.camel@smile.fi.intel.com> (raw)
In-Reply-To: <5426556.OzZIXLrofJ@wuerfel>
On Fri, 2014-07-25 at 12:19 +0200, Arnd Bergmann wrote:
> On Friday 25 July 2014 12:55:59 Mika Westerberg wrote:
> > On Fri, Jul 25, 2014 at 12:07:14PM +0300, Mika Westerberg wrote:
> > > On Fri, Jul 25, 2014 at 10:38:36AM +0200, Arnd Bergmann wrote:
> > > > On Friday 25 July 2014 11:22:49 Mika Westerberg wrote:
[]
> > Something like this?
Arnd, this dependency to certain DMA driver looks really bad.
If we go that way, can we split that part to [another] module and make
it dependent to DW_DMAC?
Or shall we introduce a dmaengine type field in the platform data and
dynamically choose proper filter-whatever-function to get the channel?
> > Hock Leong / Chiaue Ee, are you able to check if this works on your BYT
> > machines?
> 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.
What about AVR32 case? We have to fix drivers as well there.
> the dw_dma driver can be simplified a little by removing the special
> case for the request line setting.
Yes, this part I like.
--
Andy Shevchenko <andriy.shevchenko@intel.com>
Intel Finland Oy
next prev parent reply other threads:[~2014-07-25 10:45 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 [this message]
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
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=1406285147.8530.13.camel@smile.fi.intel.com \
--to=andriy.shevchenko@linux.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