Re: [PATCH 2/5] iommu: Allocate a default domain for iommu groups

2015-01-30 Thread Joerg Roedel
On Wed, Jan 28, 2015 at 02:30:06PM +, Will Deacon wrote: > On Tue, Jan 27, 2015 at 12:08:56AM +, Joerg Roedel wrote: > > + if (group->default_domain == NULL) > > + group->default_domain = __iommu_domain_alloc(dev->bus, > > +

Re: [PATCH 2/5] iommu: Allocate a default domain for iommu groups

2015-01-28 Thread Robin Murphy
On 28/01/15 14:30, Will Deacon wrote: On Tue, Jan 27, 2015 at 12:08:56AM +, Joerg Roedel wrote: From: Joerg Roedel The default domain will be used (if supported by the iommu driver) when the devices in the iommu group are not attached to any other domain. Signed-off-by: Joerg Roedel ---

Re: [PATCH 2/5] iommu: Allocate a default domain for iommu groups

2015-01-28 Thread Will Deacon
On Tue, Jan 27, 2015 at 12:08:56AM +, Joerg Roedel wrote: > From: Joerg Roedel > > The default domain will be used (if supported by the iommu > driver) when the devices in the iommu group are not attached > to any other domain. > > Signed-off-by: Joerg Roedel > --- > drivers/iommu/iommu.c

[PATCH 2/5] iommu: Allocate a default domain for iommu groups

2015-01-26 Thread Joerg Roedel
From: Joerg Roedel The default domain will be used (if supported by the iommu driver) when the devices in the iommu group are not attached to any other domain. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-