[PATCH 25/26] iommu/vt-d: Only insert alias dev_info if there is an alias

2015-08-05 Thread Joerg Roedel
From: Joerg Roedel For devices without an PCI alias there will be two device_domain_info structures added. Prevent that by checking if the alias is different from the device. Signed-off-by: Joerg Roedel --- drivers/iommu/intel-iommu.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH 25/26] iommu/vt-d: Only insert alias dev_info if there is an alias

2015-08-05 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de For devices without an PCI alias there will be two device_domain_info structures added. Prevent that by checking if the alias is different from the device. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/intel-iommu.c | 6 -- 1 file changed,