diff mbox series

[RFC,v9,08/29] memory: Add IOMMU_ATTR_MSI_TRANSLATE IOMMU memory region attribute

Message ID 20210411120912.15770-9-eric.auger@redhat.com (mailing list archive)
State New, archived
Headers show
Series vSMMUv3/pSMMUv3 2 stage VFIO integration | expand

Commit Message

Auger Eric April 11, 2021, 12:08 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 3af3cc1adb..ac8521b29a 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -275,6 +275,7 @@  typedef struct MemoryRegionClass {
 enum IOMMUMemoryRegionAttr {