iommu/amd: Add iommuv2 flag to struct amd_iommu
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 28 Nov 2011 14:11:02 +0000 (15:11 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 12 Dec 2011 13:54:52 +0000 (14:54 +0100)
commit400a28a05f2cc1a311acb4ff6ac64d8402d21678
tree4dca7cd2b8610ca0bb5ea7a7df4a0af995aa733b
parentcbc33a9085995e21f52a66380d108d64916b6787
iommu/amd: Add iommuv2 flag to struct amd_iommu

In mixed IOMMU setups this flag inidicates whether an IOMMU
supports the v2 features or not. This patch also adds a
global flag together with a function to query that flag from
other code. The flag shows if at least one IOMMUv2 is in the
system.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_proto.h
drivers/iommu/amd_iommu_types.h
This page took 0.025186 seconds and 5 git commands to generate.