]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/amd_iommu.c
AMD IOMMU: set device table entry for aliased devices
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / amd_iommu.c
index e4899e0e878740726bfa7ea56e655c53a6b88f37..a232e5a85d489914b85cccde72e3f07ad6d56aaa 100644 (file)
@@ -858,6 +858,9 @@ static int get_device_resources(struct device *dev,
                print_devid(_bdf, 1);
        }
 
+       if (domain_for_device(_bdf) == NULL)
+               set_device_domain(*iommu, *domain, _bdf);
+
        return 1;
 }