[RFC 02/11] iommu: Introduce IOMMU_CAP_TRANSLATE_MSI capability

From: Eric Auger
Date: Tue Sep 27 2016 - 16:49:18 EST


Introduce a new IOMMU_CAP_TRANSLATE_MSI capability to check whether
the IOMMU translates MSI write transactions. This capability will be
checked on domain allocation to check the type of the domain that
shall be used.

Signed-off-by: Eric Auger <eric.auger@xxxxxxxxxx>
---
include/linux/iommu.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index ef6e047..5c2673a 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -97,6 +97,7 @@ enum iommu_cap {
transactions */
IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */
IOMMU_CAP_NOEXEC, /* IOMMU_NOEXEC flag */
+ IOMMU_CAP_TRANSLATE_MSI, /* IOMMU translates MSI transactions */
};

/*
--
1.9.1