From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx133.postini.com [74.125.245.133]) by kanga.kvack.org (Postfix) with SMTP id 21FA16B0044 for ; Mon, 26 Mar 2012 07:04:38 -0400 (EDT) Received: by ghrr18 with SMTP id r18so4649480ghr.14 for ; Mon, 26 Mar 2012 04:04:37 -0700 (PDT) Message-ID: <4F704D3C.50003@gmail.com> Date: Mon, 26 Mar 2012 16:34:28 +0530 From: Subash Patel MIME-Version: 1.0 Subject: Re: [PATCH 0/2] ARM: dma-mapping: Fix mmap support for coherent buffers References: <08af01cd08ee$2fd04770$8f70d650$%szyprowski@samsung.com> <1332505563-17646-1-git-send-email-m.szyprowski@samsung.com> In-Reply-To: <1332505563-17646-1-git-send-email-m.szyprowski@samsung.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org, linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-samsung-soc@vger.kernel.org, iommu@lists.linux-foundation.org, Kyungmin Park , Arnd Bergmann , Joerg Roedel , Russell King - ARM Linux , Chunsang Jeong , Krishna Reddy , KyongHo Cho , Andrzej Pietrasiewicz , Benjamin Herrenschmidt , Konrad Rzeszutek Wilk , Hiroshi Doyu Hi Marek, I have tested these patch series for origen board, and they mmap the buffers to user-space for the coherent pool. You can add: Tested-By: Subash Patel Regards, Subash On 03/23/2012 05:56 PM, Marek Szyprowski wrote: > Hello, > > This patchset contains patches to fix broken mmap operation for memory > buffers allocated from 'dma_declare_coherent' pool after applying my dma > mapping redesign patches [1]. These issues have been reported by Subash > Patel. > > [1] http://thread.gmane.org/gmane.linux.kernel.cross-arch/12819 > > Patch summary: > > Marek Szyprowski (2): > common: add dma_mmap_from_coherent() function > arm: dma-mapping: use dma_mmap_from_coherent() > > arch/arm/mm/dma-mapping.c | 3 ++ > drivers/base/dma-coherent.c | 42 ++++++++++++++++++++++++++++++++++++ > include/asm-generic/dma-coherent.h | 4 ++- > 3 files changed, 48 insertions(+), 1 deletions(-) > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org