Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755394Ab2IAD5d (ORCPT ); Fri, 31 Aug 2012 23:57:33 -0400 Received: from bosmailout12.eigbox.net ([66.96.184.12]:54100 "EHLO bosmailout12.eigbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755249Ab2IAD5b (ORCPT ); Fri, 31 Aug 2012 23:57:31 -0400 X-Greylist: delayed 2408 seconds by postgrey-1.27 at vger.kernel.org; Fri, 31 Aug 2012 23:57:31 EDT X-Authority-Analysis: v=2.0 cv=aPZHX8Bm c=1 sm=1 a=Z/nPm8Wi6vkzxh11zJE/RA==:17 a=bc2JKO6qiGsA:10 a=tW0haWE2Y5YA:10 a=c45YJJ6LQmIA:10 a=8nJEP1OIZ-IA:10 a=qpcE2FqCzjQA:10 a=bJ0fqD8TFZgqkSadqForXVIPBlU=:19 a=HDMV31SwfDG0Q99VZ8wA:9 a=wPNLvfGTeEIA:10 a=9UqFsMnAB6EOkiq4MrOclQ==:117 X-EN-OrigOutIP: 10.20.18.19 X-EN-IMPSID: tfHL1j0070QhFXN01fHLUt Message-ID: <504179BB.2090007@yahoo.es> Date: Sat, 01 Sep 2012 10:58:03 +0800 From: Hein Tibosch User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Andrew Morton , viresh kumar , Hans-Christian Egtvedt CC: Arnd Bergmann , Linux Kernel Mailing List , "ludovic.desroches" , Havard Skinnemoen , Nicolas Ferre , spear-devel Subject: [PATCH v3 0/3] dw_dmac: repair driver for use with AVR32 (AP7000) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-EN-UserInfo: 3946c951b80c12a8be5482963a0b1232:e0ae43bc192b431f8b69f09a37527cbc X-EN-AuthUser: hein@htibosch.net X-EN-OrigIP: 114.79.63.40 X-EN-OrigHost: unknown Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1609 Lines: 40 @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(-) -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/