Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753562Ab2JNTJ5 (ORCPT ); Sun, 14 Oct 2012 15:09:57 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:54555 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749Ab2JNTJ4 (ORCPT ); Sun, 14 Oct 2012 15:09:56 -0400 From: Arnd Bergmann To: Hein Tibosch Subject: Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable Date: Sun, 14 Oct 2012 19:09:33 +0000 User-Agent: KMail/1.12.2 (Linux/3.5.0; KDE/4.3.2; x86_64; ; ) Cc: Andrew Morton , Andy Shevchenko , viresh kumar , "spear-devel" , "Hans-Christian Egtvedt" , Linux Kernel Mailing List , "ludovic.desroches" , Havard Skinnemoen , Nicolas Ferre References: <507A6FA5.1000800@yahoo.es> In-Reply-To: <507A6FA5.1000800@yahoo.es> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210141909.34098.arnd@arndb.de> X-Provags-ID: V02:K0:18FcekZipBfhWdQAOwuj6mIIqi3nRrYKb/Bvie28AvC eYpTHbjWCGCJr226m6/e2P4+IpnlqCsXSvHK2wsx13abQ1uqqS iHAm+mHNYN+G54Yf/GLTbpwa6NS2Zq40kGVggNXIST0rL+lqyu isnYQiqW/aiU37f7SsxKiVQP5K2QZTvJ4WN0QwEHRI7Zldm6M0 htUM42cO+57USowdLsdZaatgE3ZouWI3vokSmR6q8YG9kHxKDG Ql5GjOos/NhB38jY0ri+x1B24qK7WTdTWasYxq3ahXE3wgT0z5 zUwLRqF3LdSdqn63b3bEfUkfvJfNasPBgQyeAaZk4NJH4YgpTv FcUCeGauzUNb0UKtAesk= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1130 Lines: 27 On Sunday 14 October 2012, Hein Tibosch wrote: > From: Hein Tibosch > > The dw_dmac was originally developed for avr32 to be used with the Synopsys > DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's i/o > memory was done with the little-endian readl/writel functions(1) > > This broke the driver for the avr32 platform, because it needs big (native) > endian accessors. > This patch makes the endianness configurable using 'DW_DMAC_BIG_ENDIAN_IO', > which will default be true for AVR32 > > I submitted this patch before(2) but then waited for Andy to finish other > changes to the same module(3). > > (1) https://patchwork.kernel.org/patch/608211 > (2) https://lkml.org/lkml/2012/8/26/148 > (3) https://lkml.org/lkml/2012/9/21/173 > > Signed-off-by: Hein Tibosch Acked-by: Arnd Bergmann -- 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/