[GIT PULL] dmaengine: one more driver for 2.6.36

From: Dan Williams
Date: Mon Aug 16 2010 - 05:12:23 EST


Hi Linus, please consider pulling from:

git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx.git next

...to receive one more driver that was originally posted well in advance
of this window. I had some review comments that were duly resolved, but
I did not handle this updated version in a timely manner. I would
prefer that this driver not wait for 2.6.37 as it was prepared in time
for this window. Two other fixlets are also included.

None of this has seen a -next release, but the driver passes my build
regression and the other two are obviously correct.

Thanks,
Dan

Dan Carpenter (1):
dma/shdma: move dereference below the NULL check

Linus Walleij (2):
DMAENGINE: correct PL080 register header file
DMAENGINE: driver for the ARM PL080/PL081 PrimeCells v4

Mathieu Lacage (1):
missing inline keyword for static function in linux/dmaengine.h

arch/arm/include/asm/hardware/pl080.h | 4 +-
arch/arm/mach-s3c64xx/dma.c | 2 +-
drivers/dma/Kconfig | 8 +
drivers/dma/Makefile | 1 +
drivers/dma/amba-pl08x.c | 2025 +++++++++++++++++++++++++++++++++
drivers/dma/shdma.c | 3 +-
include/linux/amba/pl08x.h | 184 +++
include/linux/dmaengine.h | 2 +-
8 files changed, 2225 insertions(+), 4 deletions(-)
create mode 100644 drivers/dma/amba-pl08x.c
create mode 100644 include/linux/amba/pl08x.h

commit 23054a9ce8ac8f3d0d63b21818b73f30a1cd76dc
Author: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
Date: Mon Aug 9 12:48:02 2010 +0200

DMAENGINE: driver for the ARM PL080/PL081 PrimeCells v4

This creates a DMAengine driver for the ARM PL080/PL081 PrimeCells
based on the implementation earlier submitted by Peter Pearse.
This is working like a charm for memcpy and slave DMA to the PL011
PrimeCell on the PB11MPCore.

This DMA controller is used in mostly unmodified form in the ARM
RealView and Versatile platforms, in the ST-Ericsson Nomadik, and
in the ST SPEAr platform.

It has been converted to use the header from the Samsung PL080
derivate instead of its own defintions. The Samsungs have a custom
driver in their mach-* folders though, atleast we can share the
register definitions.

Cc: Peter Pearse <peter.pearse@xxxxxxx>
Cc: Ben Dooks <ben-linux@xxxxxxxxx>
Cc: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
Cc: Alessandro Rubini <rubini@xxxxxxxx>
Acked-by: Viresh Kumar <viresh.kumar@xxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

commit 38f919e94ea408b89196c4e1ea3f9605ca9b5e8a
Author: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
Date: Mon Aug 9 12:47:52 2010 +0200

DMAENGINE: correct PL080 register header file

This PL008 among all other variables named PL080 doesn't seem
right. Fix it. Also add some missing defined that I use in the
new PL08x driver.

Acked-by: Ben Dooks <ben-linux@xxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

commit 63bf2c4968c4a0214b4c2f5575362799a036dc37
Author: Mathieu Lacage <mathieu.lacage@xxxxxxxxxxxxxxx>
Date: Sat Aug 14 15:02:44 2010 +0200

missing inline keyword for static function in linux/dmaengine.h

Add a missing inline keyword for static function in linux/dmaengine.h to
avoid duplicate symbol definitions.

Signed-off-by: Mathieu Lacage <mathieu.lacage@xxxxxxxxxxxxxxx>
Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

commit f368c9bb381bea8628314c13c1e463c409dff84d
Author: Dan Carpenter <error27@xxxxxxxxx>
Date: Sat Aug 14 11:01:45 2010 +0200

dma/shdma: move dereference below the NULL check

"param" can be NULL here, so only dereference it after the check.

Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/