[RFC,v5,09/29] memory: Add IOMMU_ATTR_MSI_TRANSLATE IOMMU memory region attribute
diff mbox series

Message ID 20190711173933.31203-10-eric.auger@redhat.com
State New
Headers show
  • vSMMUv3/pSMMUv3 2 stage VFIO integration
Related show

Commit Message

Auger Eric July 11, 2019, 5:39 p.m. UTC
We introduce a new IOMMU Memory Region attribute, IOMMU_ATTR_MSI_TRANSLATE
which tells whether the virtual IOMMU translates MSIs. ARM SMMU
will expose this attribute since, as opposed to Intel DMAR, MSIs
are translated as any other DMA requests.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
 include/exec/memory.h | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/include/exec/memory.h b/include/exec/memory.h
index e477a630a8..593ef947c6 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -206,6 +206,7 @@  struct MemoryRegionOps {
 enum IOMMUMemoryRegionAttr {