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)
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>

No differences found