iommu/vt-d: Establish domain<->iommu link in dmar_insert_one_dev_info
authorJoerg Roedel <jroedel@suse.de>
Wed, 22 Jul 2015 11:11:53 +0000 (13:11 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:36 +0000 (16:23 +0200)
commitc6c2cebd665933216785246a1d15b4112fa74bbf
tree1b158bfe25249b088d4d20e25d40a7f8c85521ff
parentdc534b25d11f42e6b4caa5b1918f549d9c0e9d4d
iommu/vt-d: Establish domain<->iommu link in dmar_insert_one_dev_info

This makes domain attachment more synchronous with domain
deattachment. The domain<->iommu link is released in
dmar_remove_one_dev_info.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c