Re: [Xen-devel] [PATCH v4 21/33] xen/passthrough: Introduce iommu_construct

2015-03-31 Thread Ian Campbell
On Thu, 2015-03-19 at 19:29 +, Julien Grall wrote: > This new function will correctly initialize the IOMMU page table for the > current domain. > > Also use it in iommu_assign_dt_device even though the current IOMMU > implementation on ARM shares P2M with the processor. > > Signed-off-by: Jul

Re: [Xen-devel] [PATCH v4 21/33] xen/passthrough: Introduce iommu_construct

2015-03-20 Thread Jan Beulich
>>> On 19.03.15 at 20:29, wrote: > --- a/xen/drivers/passthrough/iommu.c > +++ b/xen/drivers/passthrough/iommu.c > @@ -187,6 +187,32 @@ void iommu_teardown(struct domain *d) > tasklet_schedule(&iommu_pt_cleanup_tasklet); > } > > +int iommu_construct(struct domain *d) > +{ > +int rc = 0

[Xen-devel] [PATCH v4 21/33] xen/passthrough: Introduce iommu_construct

2015-03-19 Thread Julien Grall
This new function will correctly initialize the IOMMU page table for the current domain. Also use it in iommu_assign_dt_device even though the current IOMMU implementation on ARM shares P2M with the processor. Signed-off-by: Julien Grall Cc: Jan Beulich --- Changes in v4: - Move me