Re: [PATCH] iommu: Don't print warning when IOMMU driver only supports unmanaged domains

2019-03-25 Thread Joerg Roedel
On Fri, Mar 22, 2019 at 05:04:26PM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > Print the warning about the fall-back to IOMMU_DOMAIN_DMA in > iommu_group_get_for_dev() only when such a domain was > actually allocated. > > Otherwise the user will get misleading warnings in the > kernel lo

[PATCH] iommu: Don't print warning when IOMMU driver only supports unmanaged domains

2019-03-22 Thread Joerg Roedel
From: Joerg Roedel Print the warning about the fall-back to IOMMU_DOMAIN_DMA in iommu_group_get_for_dev() only when such a domain was actually allocated. Otherwise the user will get misleading warnings in the kernel log when the iommu driver used doesn't support IOMMU_DOMAIN_DMA and IOMMU_DOMAIN