From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345Ab2HaE0k (ORCPT ); Fri, 31 Aug 2012 00:26:40 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:34898 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997Ab2HaE0h (ORCPT ); Fri, 31 Aug 2012 00:26:37 -0400 MIME-Version: 1.0 In-Reply-To: <503F9F72.9020301@yahoo.es> References: <503F9F72.9020301@yahoo.es> Date: Fri, 31 Aug 2012 09:56:36 +0530 Message-ID: Subject: Re: [PATCH v2 0/2] dw_dmac: repair driver for use with AVR32 (AP7000) From: Viresh Kumar To: Hein Tibosch Cc: spear-devel , Linux Kernel Mailing List , "ludovic.desroches" , Havard Skinnemoen , Nicolas Ferre , egtvedt@samfundet.no, Andrew Morton , Arnd Bergmann Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30 August 2012 22:44, Hein Tibosch wrote: > After some recent changes to dw_dmac, the driver got broken > for the AVR32 platform for two 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 repair the driver by: > 1. making the endianness configurable through Kconfig, > for AVR32 it will become big-endian > 2. making the maximum memory transfer width configurable > It can be set in the code within arch Acked-by: Viresh Kumar BTW, Ideally speaking the fix for AVR32 which will enable 32bit mem support and enable BIG endian support should have been part of this patchset. That code can go through DMA tree as these patches are very closely related. Otherwise now you have to wait till these patches are included in linux-next, then only you can send AVR32 patches for inclusion. So, maybe you can just add Acked-by from me and Arnd and include AVR patches (Only changes related to these two patches) in the same series. That will make life easier for you. viresh