Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread jassi brar
On Sat, May 8, 2010 at 1:10 AM, Linus Walleij wrote: > Surely circular linked buffers and other goodies can be retrofitted into the > DMAengine without a complete redesign? I only see a new slave call > to support that really, in addition to the existing sglist interface. well, before taking up th

RE: [PATCH v8 2/2] omap hsmmc: adaptation of sdma descriptor autoloading feature

2010-05-07 Thread Madhusudhan
> > >>> omap_mmc_platform_data is MMC specific platform data. Why add a SDMA > >>> specific feature capability into it? Even though you add it there, you > >> will > >>> still need to have a cpu check before that can be set in a common > code. > >>> > >> CPU checks are allowed to be in the p

Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread Dan Williams
On Fri, May 7, 2010 at 4:43 AM, Linus Walleij wrote: > 2010/5/7 Russell King - ARM Linux : > >> I would have thought given the concerns that I stated, merely running >> the drivers in PIO mode would not address those concerns.  So no, I'm >> not satisfied. > > Sorry didn't get it, I understood it

RE: [PATCH] Disable the non working eMMC on Zoom2/3

2010-05-07 Thread Madhusudhan
> -Original Message- > From: Tony Lindgren [mailto:t...@atomide.com] > Sent: Thursday, May 06, 2010 10:31 AM > To: Madhusudhan > Cc: 'Nishanth Menon'; 'Ghorai, Sukumar'; linux-o...@vger.kernel.org; > linux-mmc@vger.kernel.org > Subject: Re: [PATCH] Disable the non working eMMC on Zoom2/3

Re: [PATCH v8 2/2] omap hsmmc: adaptation of sdma descriptor autoloading feature

2010-05-07 Thread Nishanth Menon
Chikkature Rajashekar, Madhusudhan had written, on 05/07/2010 11:59 AM, the following: -Original Message- From: Chikkature Rajashekar, Madhusudhan Sent: Thursday, May 06, 2010 9:50 PM To: Shilimkar, Santosh; 'kishore kadiyala' Cc: S, Venkatraman; linux-o...@vger.kernel.org; linux- m.

RE: [PATCH v8 2/2] omap hsmmc: adaptation of sdma descriptor autoloading feature

2010-05-07 Thread Madhusudhan
> -Original Message- > From: Shilimkar, Santosh [mailto:santosh.shilim...@ti.com] > Sent: Thursday, May 06, 2010 11:52 PM > To: Chikkature Rajashekar, Madhusudhan; 'kishore kadiyala' > Cc: S, Venkatraman; linux-o...@vger.kernel.org; linux-mmc@vger.kernel.org; > linux-arm-ker...@lists.arm.

Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread Linus Walleij
2010/5/7 jassi brar : > On Fri, May 7, 2010 at 8:43 PM, Linus Walleij > wrote: >> 2010/5/7 Russell King - ARM Linux : >>> >>> Or let me put it another way - if people are happy for Linux to support >>> new ARM CPU architectures, but with very little attention given to DMA >>> support on those arch

[PATCH 4b/9 v3] MMC: add DMA support to tmio_mmc driver, when used on SuperH

2010-05-07 Thread Guennadi Liakhovetski
SDHI controllers on SuperH, served by the tmio_mmc driver, can use slave DMA for data transfer. This patch adds support for the dmaengine API to the tmio_mmc driver. Signed-off-by: Guennadi Liakhovetski --- drivers/mmc/host/tmio_mmc.c | 341 +++ drivers/m

[PATCH 4a/9 v3] sh: prepare the SDHI MFD driver to pass DMA configuration to tmio_mmc.c

2010-05-07 Thread Guennadi Liakhovetski
Pass DMA slave IDs from platform down to the tmio_mmc driver, to be used for dmaengine configuration. Signed-off-by: Guennadi Liakhovetski --- drivers/mfd/sh_mobile_sdhi.c | 24 include/linux/mfd/sh_mobile_sdhi.h |2 ++ include/linux/mfd/tmio.h |

[PATCH 0/9 v3] add DMA support to tmio_mmc, using dmaengine API, use it on SH

2010-05-07 Thread Guennadi Liakhovetski
Following this email I'll send two patches, that split [PATCH 4/9 v2] MMC: add DMA support to tmio_mmc driver, when used on SuperH into two parts: mfd and mmc. Also adding MFD maintainer to CC, which I've forgotten to do on previous iterations (sorry, Samuel). Otherwise no changes, that's why I

Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread jassi brar
On Fri, May 7, 2010 at 8:43 PM, Linus Walleij wrote: > 2010/5/7 Russell King - ARM Linux : >> Or let me put it another way - if people are happy for Linux to support >> new ARM CPU architectures, but with very little attention given to DMA >> support on those architectures, then feel free to box t

Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread Linus Walleij
2010/5/7 Russell King - ARM Linux : > I would have thought given the concerns that I stated, merely running > the drivers in PIO mode would not address those concerns.  So no, I'm > not satisfied. Sorry didn't get it, I understood it as it should be tested on the Versatile without regressions. S

Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread Russell King - ARM Linux
On Fri, May 07, 2010 at 11:13:57AM +0200, Linus Walleij wrote: > Dan is this patch set OK? > > Sorry if you're busy, just need to check... > > Patches 1 thru 4 should be uncontroversial, only affects > our ST-Ericsson platforms and have been thorougly reviewed. > > As posted elsewhere this is te

Re: [PATCH 5/7] ARM: add PrimeCell generic DMA to PL011 v6

2010-05-07 Thread Russell King - ARM Linux
On Mon, May 03, 2010 at 02:55:13AM +0200, Linus Walleij wrote: > + /* Map DMA buffers */ > + sglen = dma_map_sg(uap->port.dev, &dmarx->scatter_a, > +1, DMA_FROM_DEVICE); > + if (sglen != 1) > + goto err_rx_sgmap_a; > + > + sglen = dma_map_sg(uap->

Re: [PATCH 0/7] DMAENGINE: fixes and PrimeCells

2010-05-07 Thread Linus Walleij
Dan is this patch set OK? Sorry if you're busy, just need to check... Patches 1 thru 4 should be uncontroversial, only affects our ST-Ericsson platforms and have been thorougly reviewed. As posted elsewhere this is tested on an ARM reference design now as well, which IMHO would make it OK to app