From mboxrd@z Thu Jan 1 00:00:00 1970 From: KyongHo Cho Subject: Re: [PATCHv7 9/9] ARM: dma-mapping: add support for IOMMU mapper Date: Wed, 21 Mar 2012 08:56:51 +0900 Message-ID: References: <1330527862-16234-1-git-send-email-m.szyprowski@samsung.com> <1330527862-16234-10-git-send-email-m.szyprowski@samsung.com> <4F688B2D.20808@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <4F688B2D.20808@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org To: Subash Patel Cc: Marek Szyprowski , 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, Shariq Hasnain , Arnd Bergmann , Benjamin Herrenschmidt , Krishna Reddy , Kyungmin Park , Andrzej Pietrasiewicz , Russell King - ARM Linux , Chunsang Jeong List-Id: linux-arch.vger.kernel.org On Tue, Mar 20, 2012 at 10:50 PM, Subash Patel wrote: > Sorry for digging this very late. But as part of integrating dma_map v7 & > sysmmu v12 on 3.3-rc5, I am facing below issue: > > a) By un-selecting IOMMU in menu config, I am able to allocate memory in > vb2-dma-contig > > b) When I enable SYSMMU support for the IP's, I am receiving below fault: > > Unhandled fault: external abort on non-linefetch (0x818) at 0xb6f55000 > > I think this has something to do with the access to the SYSMMU registers for > writing the page table. Has anyone of you faced this issue while testing > these(dma_map+iommu) patches on kernel mentioned above? This must be > something related to recent changes, as I didn't have issues with these > patches on 3.2 kernel. > 0xb6f55000 is not an address of SYSMMU register if your kernel starts at 0xc0000000. Can you tell me any detailed information or situation? Regards, KyongHo. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f174.google.com ([209.85.217.174]:55938 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923Ab2CTX4x (ORCPT ); Tue, 20 Mar 2012 19:56:53 -0400 MIME-Version: 1.0 In-Reply-To: <4F688B2D.20808@gmail.com> References: <1330527862-16234-1-git-send-email-m.szyprowski@samsung.com> <1330527862-16234-10-git-send-email-m.szyprowski@samsung.com> <4F688B2D.20808@gmail.com> Date: Wed, 21 Mar 2012 08:56:51 +0900 Message-ID: Subject: Re: [PATCHv7 9/9] ARM: dma-mapping: add support for IOMMU mapper From: KyongHo Cho Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-arch-owner@vger.kernel.org List-ID: To: Subash Patel Cc: Marek Szyprowski , 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, Shariq Hasnain , Arnd Bergmann , Benjamin Herrenschmidt , Krishna Reddy , Kyungmin Park , Andrzej Pietrasiewicz , Russell King - ARM Linux , Chunsang Jeong Message-ID: <20120320235651.Bzz8h3VKH1blPu7sf-8tqLjLXqdXH4cjOYDd6YIJ_QQ@z> On Tue, Mar 20, 2012 at 10:50 PM, Subash Patel wrote: > Sorry for digging this very late. But as part of integrating dma_map v7 & > sysmmu v12 on 3.3-rc5, I am facing below issue: > > a) By un-selecting IOMMU in menu config, I am able to allocate memory in > vb2-dma-contig > > b) When I enable SYSMMU support for the IP's, I am receiving below fault: > > Unhandled fault: external abort on non-linefetch (0x818) at 0xb6f55000 > > I think this has something to do with the access to the SYSMMU registers for > writing the page table. Has anyone of you faced this issue while testing > these(dma_map+iommu) patches on kernel mentioned above? This must be > something related to recent changes, as I didn't have issues with these > patches on 3.2 kernel. > 0xb6f55000 is not an address of SYSMMU register if your kernel starts at 0xc0000000. Can you tell me any detailed information or situation? Regards, KyongHo.