iommu: Add iommu_get_domain_for_dev function
authorJoerg Roedel <jroedel@suse.de>
Thu, 28 May 2015 16:41:32 +0000 (18:41 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 9 Jun 2015 06:55:23 +0000 (08:55 +0200)
commit2c1296d92ac0367364bcb73a43c12a0bdfbfee75
treeb1cd702a8a1bb45143421bc839f5dad791028196
parente39cb8a3aa988a74433a3f26443b454cca033651
iommu: Add iommu_get_domain_for_dev function

This function can be used to request the current domain a
device is attached to.

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