iommu/vt-d: Only insert alias dev_info if there is an alias
commit08a7f456a759e971caf0cc13987a963de2b0ae7c
authorJoerg Roedel <jroedel@suse.de>
Thu, 23 Jul 2015 16:09:11 +0000 (23 18:09 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:36 +0000 (12 16:23 +0200)
treecb8442f19bc77abf388777c9b3358a730fb40182
parent127c761598f7fbe7ffe6650cdc491eb57c5aaecd
iommu/vt-d: Only insert alias dev_info if there is an alias

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 <jroedel@suse.de>
drivers/iommu/intel-iommu.c