From: David Woodhouse Date: Tue, 11 Mar 2014 03:04:11 +0000 (-0700) Subject: iommu/vt-d: Finally enable translation for non-PCI devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66077edc972c1c8dc2cf08e96a956c2db9bd705c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git iommu/vt-d: Finally enable translation for non-PCI devices Signed-off-by: David Woodhouse --- diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 0a8e166a57b0..a180f10a7b26 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;