From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751658Ab1JRRxG (ORCPT ); Tue, 18 Oct 2011 13:53:06 -0400 Received: from mail-qy0-f181.google.com ([209.85.216.181]:55756 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750Ab1JRRxE convert rfc822-to-8bit (ORCPT ); Tue, 18 Oct 2011 13:53:04 -0400 MIME-Version: 1.0 In-Reply-To: <20111018173521.GF30644@flint.arm.linux.org.uk> References: <0CE8B6BE3C4AD74AB97D9D29BD24E55202321E20@CORPEXCH1.na.ads.idt.com> <0CE8B6BE3C4AD74AB97D9D29BD24E55202321F65@CORPEXCH1.na.ads.idt.com> <0CE8B6BE3C4AD74AB97D9D29BD24E552023220AC@CORPEXCH1.na.ads.idt.com> <20111018074211.GA13483@flint.arm.linux.org.uk> <20111018094944.GA30644@flint.arm.linux.org.uk> <0CE8B6BE3C4AD74AB97D9D29BD24E55202367258@CORPEXCH1.na.ads.idt.com> <20111018173521.GF30644@flint.arm.linux.org.uk> Date: Tue, 18 Oct 2011 23:23:03 +0530 Message-ID: Subject: Re: [PATCHv4] DMAEngine: Define interleaved transfer request api From: Jassi Brar To: Russell King Cc: "Bounine, Alexandre" , "Williams, Dan J" , Vinod Koul , Barry Song <21cnbao@gmail.com>, linux-kernel@vger.kernel.org, DL-SHA-WorkGroupLinux , Dave Jiang Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18 October 2011 23:05, Russell King wrote: > > However, Jassi's suggestion that we redefine dma_addr_t to be 64-bit > for just the DMA engine code is utterly insane and unworkable.  We > can't have typedefs which change depending on which bits of code are > being built, potentially changing the layout of structures being passed > around inside the kernel. > I am not sure you understood what I meant. When I said "Perhaps simply change dma_addr_t to u64 in dmaengine.h alone" I meant s/dma_addr_t/u64