Re: [PATCH v2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-28 Thread Will Deacon
On Mon, Oct 28, 2013 at 04:44:22PM +, Alex Williamson wrote: > On Fri, 2013-10-18 at 17:08 +0200, Antonios Motakis wrote: > > IOMMU groups are expected by certain users of the IOMMU API, > > e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU > > group to satisfy those users. > > >

Re: [PATCH v2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-28 Thread Alex Williamson
On Fri, 2013-10-18 at 17:08 +0200, Antonios Motakis wrote: > IOMMU groups are expected by certain users of the IOMMU API, > e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU > group to satisfy those users. > > Changes from v1: > * Added check that dev->archdata.iommu has not been se

[PATCH v2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-18 Thread Antonios Motakis
IOMMU groups are expected by certain users of the IOMMU API, e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU group to satisfy those users. Changes from v1: * Added check that dev->archdata.iommu has not been set already by an IOMMU driver. This way we can also skip checking for