iommu/amd: Implement device aquisition code for IOMMUv2
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 23 Nov 2011 16:30:39 +0000 (17:30 +0100)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:41 +0000 (11:11 +0200)
commit9fc2dfa22574af10a237f49820bd3ba110d7b0af
tree5aa8e392ee61b58db84a261230188a1ab35095f9
parent379b566c6b0ababb8a42612a9b4f7c016631c7ec
iommu/amd: Implement device aquisition code for IOMMUv2

This patch adds the amd_iommu_init_device() and
amd_iommu_free_device() functions which make a device and
the IOMMU ready for IOMMUv2 usage.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_v2.c
include/linux/amd-iommu.h