summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2014-03-11 03:04:11 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2014-03-24 14:08:08 (GMT)
commit66077edc972c1c8dc2cf08e96a956c2db9bd705c (patch)
treebd098b79548d0d4c0784e7d02844653fc59ab61f
parent46333e375f3228196e8cb741d817165f9793b46c (diff)
downloadlinux-66077edc972c1c8dc2cf08e96a956c2db9bd705c.tar.xz
iommu/vt-d: Finally enable translation for non-PCI devices
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r--drivers/iommu/intel-iommu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index 0a8e166..a180f10 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -2907,9 +2907,6 @@ static int iommu_no_mapping(struct device *dev)
{
int found;
- if (unlikely(!dev_is_pci(dev)))
- return 1;
-
if (iommu_dummy(dev))
return 1;