summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu_types.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2019-03-22 16:52:17 +0100
committerJoerg Roedel <jroedel@suse.de>2019-03-25 14:37:00 +0100
commit8bc32a285660e13fdcf92ddaf5b8653abe112040 (patch)
tree600633cad61a75b4c1479218ed8f19fc79a55080 /drivers/iommu/amd_iommu_types.h
parent8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff)
iommu: Don't print warning when IOMMU driver only supports unmanaged domains
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_IDENTITY. Fixes: fccb4e3b8ab09 ('iommu: Allow default domain type to be set on the kernel command line') Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
0 files changed, 0 insertions, 0 deletions