]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
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)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 12 Dec 2011 14:32:51 +0000 (15:32 +0100)
commited96f228ba9725edf69385bffdc19ee5bb0ec641
tree56fc5167fd66b4b7012ac0307d264223a30940e4
parente3c495c74bc008a5c3671bf3411bc7f5382fa58f
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