Re: [Xen-devel] [RFC PATCH 7/9] iommu/arm: Add alloc_page_table platform callback

2017-03-23 Thread Oleksandr Tyshchenko
On Wed, Mar 22, 2017 at 5:49 PM, Jan Beulich wrote: On 15.03.17 at 21:05, wrote: >> --- a/xen/include/xen/iommu.h >> +++ b/xen/include/xen/iommu.h >> @@ -181,6 +181,7 @@ struct iommu_ops { >> int __must_check (*unmap_page)(struct domain *d, unsigned long gfn); >> int __must_check (

Re: [Xen-devel] [RFC PATCH 7/9] iommu/arm: Add alloc_page_table platform callback

2017-03-22 Thread Jan Beulich
>>> On 15.03.17 at 21:05, wrote: > --- a/xen/include/xen/iommu.h > +++ b/xen/include/xen/iommu.h > @@ -181,6 +181,7 @@ struct iommu_ops { > int __must_check (*unmap_page)(struct domain *d, unsigned long gfn); > int __must_check (*unmap_pages)(struct domain *d, unsigned long gfn, >

[Xen-devel] [RFC PATCH 7/9] iommu/arm: Add alloc_page_table platform callback

2017-03-15 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko The alloc_page_table callback is a mandatory thing for the IOMMUs that don't share page table with the CPU on ARM. The unshared IOMMUs have to perform all required actions here to be ready to handle IOMMU mapping updates right after completing it. The arch_iommu_popula