Re: [PATCH v11 08/10] iommu/vt-d: assign new page table for dma_map

2015-05-20 Thread Baoquan He
On 05/21/15 at 09:27am, Li, ZhenHua wrote: > Hi Baoquan, > > In the early version of this patchset, old page tables are used by new > kernel. But as discussed, we need to make kernel use new pages when > there is a new dma request , so we need to unmap the pages which were > mapped in old kernel,

Re: [PATCH v2 4/6] soc: mediatek: Add SMI driver

2015-05-20 Thread Yong Wu
Hi Matthias, Thanks very much for your suggestion. Abort the smi clock name, Could you help check below. The others I will improve in next time. On Tue, 2015-05-19 at 13:14 +0200, Matthias Brugger wrote: > 2015-05-15 11:43 GMT+02:00 Yong Wu : > > This patch add SMI(Smart Multime

Re: [PATCH v11 08/10] iommu/vt-d: assign new page table for dma_map

2015-05-20 Thread Li, ZhenHua
Hi Baoquan, In the early version of this patchset, old page tables are used by new kernel. But as discussed, we need to make kernel use new pages when there is a new dma request , so we need to unmap the pages which were mapped in old kernel, and this is what this patch does. Thanks Zhenhua On

Re: [PATCH v11 08/10] iommu/vt-d: assign new page table for dma_map

2015-05-20 Thread Baoquan He
On 05/11/15 at 05:52pm, Li, Zhen-Hua wrote: > When a device driver issues the first dma_map command for a device, we > assign a new and empty page-table, thus removing all mappings from the > old kernel for the device. Hi Zhenhua, >From your patch I got it will remove all mappings, assign a new p

Re: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread Mark Hounschell
On 05/20/2015 03:51 PM, William Davis wrote: -Original Message- From: Mark Hounschell [mailto:ma...@compro.net] Sent: Wednesday, May 20, 2015 2:16 PM To: William Davis; Bjorn Helgaas Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- p...@vger.kernel.org; Terence Ripperda; J

RE: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread William Davis
> -Original Message- > From: Mark Hounschell [mailto:ma...@compro.net] > Sent: Wednesday, May 20, 2015 2:16 PM > To: William Davis; Bjorn Helgaas > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard; jgli...@redhat.com; > k

Re: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread Mark Hounschell
On 05/20/2015 01:30 PM, William Davis wrote: -Original Message- From: Mark Hounschell [mailto:ma...@compro.net] Sent: Wednesday, May 20, 2015 7:11 AM To: Bjorn Helgaas; William Davis Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- p...@vger.kernel.org; Terence Ripperda; J

RE: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread William Davis
> -Original Message- > From: Mark Hounschell [mailto:ma...@compro.net] > Sent: Wednesday, May 20, 2015 7:11 AM > To: Bjorn Helgaas; William Davis > Cc: j...@8bytes.org; iommu@lists.linux-foundation.org; linux- > p...@vger.kernel.org; Terence Ripperda; John Hubbard; jgli...@redhat.com; > k

Re: [PATCH 2/3] iommu/arm-smmu: Add initial driver support for ARM SMMUv3 devices

2015-05-20 Thread Will Deacon
On Tue, May 19, 2015 at 04:24:35PM +0100, Joerg Roedel wrote: > Hi Will, Hi Joerg, > the code looks good overall, I just have some questions below. Great, thanks for having a look. I'll still need to post a v2 to address some of the other comments I've had. > On Fri, May 08, 2015 at 07:00:45PM

Re: [PATCH v2 4/7] DMA-API: Add dma_(un)map_resource() documentation

2015-05-20 Thread Mark Hounschell
On 05/19/2015 07:43 PM, Bjorn Helgaas wrote: [+cc Dave, Jonathan] On Mon, May 18, 2015 at 01:25:01PM -0500, wda...@nvidia.com wrote: From: Will Davis Add references to both the general API documentation as well as the HOWTO. Signed-off-by: Will Davis --- Documentation/DMA-API-HOWTO.txt |

Re: [v5 3/9] iommu, x86: Abstract modify_irte() to accept two format of irte

2015-05-20 Thread Thomas Gleixner
On Wed, 20 May 2015, Feng Wu wrote: > After introducing VT-d posted-interrupts, we have two format > of IRTE: remapped and posted. This patch make modify_irte() > suitable for both of them. > static int modify_irte(struct irq_2_iommu *irq_iommu, > -struct irte *irte_modified)

Re: [PATCH v7 00/25] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2015-05-20 Thread Javier Martinez Canillas
Hello Marek, On Tue, May 19, 2015 at 3:20 PM, Marek Szyprowski wrote: > Hello Everyone, > > This is yet another attempt to get Exynos SYSMMU driver with integrated > with IOMMU & DMA-mapping subsystems. This version includes minor fixes > suggested by Joerg Roedel, Cho KyongHo and Robin Murphy. >