Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755608AbZGGHtE (ORCPT ); Tue, 7 Jul 2009 03:49:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754631AbZGGHsz (ORCPT ); Tue, 7 Jul 2009 03:48:55 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:42894 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754526AbZGGHsy (ORCPT ); Tue, 7 Jul 2009 03:48:54 -0400 Date: Tue, 7 Jul 2009 08:48:21 +0100 From: Russell King - ARM Linux To: Ming Lei Cc: Arnd Bergmann , Alan Cox , Joerg Roedel , fujita.tomonori@lab.ntt.co.jp, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-arm-kernel Subject: Re: [PATCH][RFC] asm-generic:remove calling flush_write_buffers() in dma_sync_*_for_cpu Message-ID: <20090707074821.GB6995@n2100.arm.linux.org.uk> References: <1246199959-6548-1-git-send-email-tom.leiming@gmail.com> <200906301448.55064.arnd@arndb.de> <20090630140945.0784e174@lxorguk.ukuu.org.uk> <200906301538.44684.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 837 Lines: 16 On Tue, Jul 07, 2009 at 09:54:20AM +0800, Ming Lei wrote: > 2009/6/30 Arnd Bergmann : > > On Tuesday 30 June 2009, Alan Cox wrote: > > Well, not even that. dma-mapping-common.h only makes sense on architectures > > that have multiple dma-mapping implementations (parisc, mips, arm, powerpc, > > It seems that there is only one dma-mmaping implementation on ARM, doesn't it? > Is it necessary that using dma-mapping-common.h on ARM? ARM has two (normal, and dma bounce), and in the long run we need to do cache handling on unmap as well as map due to CPU speculative fetches. -- 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/