Re: [PATCH 00/15] iommu: Move domain allocation into drivers

2015-03-23 Thread Yingjoe Chen
On Mon, 2015-03-23 at 12:49 +0100, Joerg Roedel wrote: > Hi Yingjoe, > > On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote: > > What's the status of this patchset? > > While porting MTK IOMMU driver[1], we need to use a global variable > > because we need to do dma_alloc_coherent in our

Re: [PATCH 00/15] iommu: Move domain allocation into drivers

2015-03-23 Thread Joerg Roedel
Hi Yingjoe, On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote: > What's the status of this patchset? > While porting MTK IOMMU driver[1], we need to use a global variable > because we need to do dma_alloc_coherent in our domain_init. I think we > can remove that global variable if we ba

Re: [PATCH 00/15] iommu: Move domain allocation into drivers

2015-03-20 Thread Yingjoe Chen
On Tue, 2015-01-27 at 00:51 +0100, Joerg Roedel wrote: > From: Joerg Roedel > > Hi, > > here is patch-set to replace the existing domain_init and > domain_destroy iommu-ops with the new domain_alloc and > domain_free callbacks > > The new callbacks move the allocation of iommu domains into > th

[PATCH 00/15] iommu: Move domain allocation into drivers

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel Hi, here is patch-set to replace the existing domain_init and domain_destroy iommu-ops with the new domain_alloc and domain_free callbacks The new callbacks move the allocation of iommu domains into the iommu driver, allowing them to put a generic iommu_domain struct into the