linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] dw_dmac: repair driver for use with AVR32 (AP7000)
@ 2012-09-01  2:58 Hein Tibosch
  0 siblings, 0 replies; only message in thread
From: Hein Tibosch @ 2012-09-01  2:58 UTC (permalink / raw)
  To: Andrew Morton, viresh kumar, Hans-Christian Egtvedt
  Cc: Arnd Bergmann, Linux Kernel Mailing List, ludovic.desroches,
	Havard Skinnemoen, Nicolas Ferre, spear-devel

@Andrew: This is the third and hopefully final version of the dw_dmac patches.
Now the small Atmel patch is included because of its dependency on
the second dw_dmac patch. Sorry for the earlier confusion.


After some recent changes to dw_dmac, the driver got broken for the
AVR32 platform for several reasons:

The accessors to i/o memory had become little-endian.
The maximum transfer width on the memory side was increased from 32 to 64 bits.
This led to undefined behavior on the avr32 platform.

These patches will repair the driver so it can be used again on avr32. For
other users of dw_dmac (ARM platform), nothing will change and no code has
to be adapted.

The small patch for Atmel (at32ap700x.c) is included here because of its
dependency on the second dw_dmac patch.

Thanks to all for reviewing, both people from Atmel and Linaro

Hein Tibosch (3):
  dw_dmac: make driver endianness configurable
  dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register
  avr32: at32ap700x: set DMA slave properties for MCI dw_dmac

 arch/avr32/mach-at32ap/at32ap700x.c |    5 +++++
 drivers/dma/Kconfig                 |   11 +++++++++++
 drivers/dma/dw_dmac.c               |   10 +++++++---
 drivers/dma/dw_dmac_regs.h          |   14 ++++++++++++++
 include/linux/dw_dmac.h             |    3 +++
 5 files changed, 40 insertions(+), 3 deletions(-)

-- 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-01  3:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-01  2:58 [PATCH v3 0/3] dw_dmac: repair driver for use with AVR32 (AP7000) Hein Tibosch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).