iommu/vt-d: Keep track of per-iommu domain ids
authorJoerg Roedel <jroedel@suse.de>
Tue, 21 Jul 2015 07:39:46 +0000 (09:39 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:32 +0000 (16:23 +0200)
commitc0e8a6c8033e205835fa5e67db7ab4589d2491b2
treec5587325e78fb5ce8c607b41f4d3617cd0852974
parent2238c0827a9bfa8d517e3175110ed603fb7b9537
iommu/vt-d: Keep track of per-iommu domain ids

Instead of searching in the domain array for already
allocated domain ids, keep track of them explicitly.

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