Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756553Ab0BJV1u (ORCPT ); Wed, 10 Feb 2010 16:27:50 -0500 Received: from xenotime.net ([72.52.64.118]:46021 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751131Ab0BJV1s (ORCPT ); Wed, 10 Feb 2010 16:27:48 -0500 Message-ID: <4B7324D3.1000509@xenotime.net> Date: Wed, 10 Feb 2010 13:27:47 -0800 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0 MIME-Version: 1.0 To: adharmap@codeaurora.org CC: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, Catalin Marinas , Abhijeet Dharmapurikar Subject: Re: [RFC 0/2] fix dma_map_sg not to do barriers for each buffer References: <1265834250-29170-1-git-send-email-adharmap@codeaurora.org> In-Reply-To: <1265834250-29170-1-git-send-email-adharmap@codeaurora.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1755 Lines: 42 On 02/10/10 12:37, adharmap@codeaurora.org wrote: > From: Abhijeet Dharmapurikar > > Please refer to the post here > http://lkml.org/lkml/2010/1/4/347 > > These changes are to introduce barrierless dma_map_area and dma_unmap_area and > use them to map the buffers in the scatterlist. For the last buffer, call > the normal dma_map_area(aka with barriers) effectively executing the barrier > at the end of the operation. > > Note that the barrierless operations are implemented for few arm > architectures only and I would implement for others once these are okayed by the > community. So when you add these interfaces for other architectures, you will also update Documentation/DMA-API.txt, right?? > Abhijeet Dharmapurikar (2): > dma: define barrierless versions of map and unmap area > dma: fix scatter-gather api to use barrierless map/unmap functions > > arch/arm/include/asm/cacheflush.h | 9 +++ > arch/arm/include/asm/dma-mapping.h | 82 +++++++++++++++++++++ > arch/arm/mm/cache-v3.S | 6 ++ > arch/arm/mm/cache-v4.S | 6 ++ > arch/arm/mm/cache-v4wb.S | 94 +++++++++++++++++------- > arch/arm/mm/cache-v4wt.S | 6 ++ > arch/arm/mm/cache-v6.S | 139 +++++++++++++++++++++++++---------- > arch/arm/mm/cache-v7.S | 120 +++++++++++++++++++++++-------- > arch/arm/mm/dma-mapping.c | 55 +++++++++++++-- > 9 files changed, 414 insertions(+), 103 deletions(-) -- ~Randy -- 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/