Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1492152

[RFC 02/11] iommu: Introduce IOMMU_CAP_TRANSLATE_MSI capability

From Eric Auger <eric.auger@redhat.com>
Newsgroups linux.kernel
Subject [RFC 02/11] iommu: Introduce IOMMU_CAP_TRANSLATE_MSI capability
Date 2016-09-27 22:50 +0200
Message-ID <sm7u9-5Nm-5@gated-at.bofh.it> (permalink)
References <sm7u9-5Nm-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@redhat.com>
---
 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[RFC 02/11] iommu: Introduce IOMMU_CAP_TRANSLATE_MSI capability Eric Auger <eric.auger@redhat.com> - 2016-09-27 22:50 +0200

csiph-web