[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v8 07/28] memory: Add IOMMU_ATTR_MSI_TRANSLATE IOMMU memory region
From: |
Eric Auger |
Subject: |
[RFC v8 07/28] memory: Add IOMMU_ATTR_MSI_TRANSLATE IOMMU memory region attribute |
Date: |
Thu, 25 Feb 2021 11:52:12 +0100 |
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 --git a/include/exec/memory.h b/include/exec/memory.h
index 04c75f13c2..ad6c807262 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -275,6 +275,7 @@ typedef struct MemoryRegionClass {
enum IOMMUMemoryRegionAttr {
IOMMU_ATTR_SPAPR_TCE_FD,
IOMMU_ATTR_VFIO_NESTED,
+ IOMMU_ATTR_MSI_TRANSLATE,
};
/*
--
2.26.2
- [RFC v8 00/28] vSMMUv3/pSMMUv3 2 stage VFIO integration, Eric Auger, 2021/02/25
- [RFC v8 01/28] hw/vfio/common: trace vfio_connect_container operations, Eric Auger, 2021/02/25
- [RFC v8 02/28] update-linux-headers: Import iommu.h, Eric Auger, 2021/02/25
- [RFC v8 03/28] header update against 5.11-rc2 and IOMMU/VFIO nested stage APIs, Eric Auger, 2021/02/25
- [RFC v8 05/28] hw/arm/smmuv3: Properly propagate S1 asid invalidation, Eric Auger, 2021/02/25
- [RFC v8 04/28] memory: Add new fields in IOTLBEntry, Eric Auger, 2021/02/25
- [RFC v8 06/28] memory: Add IOMMU_ATTR_VFIO_NESTED IOMMU memory region attribute, Eric Auger, 2021/02/25
- [RFC v8 07/28] memory: Add IOMMU_ATTR_MSI_TRANSLATE IOMMU memory region attribute,
Eric Auger <=
- [RFC v8 08/28] memory: Introduce IOMMU Memory Region inject_faults API, Eric Auger, 2021/02/25
- [RFC v8 09/28] iommu: Introduce generic header, Eric Auger, 2021/02/25
- [RFC v8 10/28] pci: introduce PCIPASIDOps to PCIDevice, Eric Auger, 2021/02/25
- [RFC v8 11/28] vfio: Force nested if iommu requires it, Eric Auger, 2021/02/25
- [RFC v8 12/28] vfio: Introduce hostwin_from_range helper, Eric Auger, 2021/02/25
- [RFC v8 13/28] vfio: Introduce helpers to DMA map/unmap a RAM section, Eric Auger, 2021/02/25
- [RFC v8 14/28] vfio: Set up nested stage mappings, Eric Auger, 2021/02/25
- [RFC v8 15/28] vfio: Pass stage 1 MSI bindings to the host, Eric Auger, 2021/02/25
- [RFC v8 16/28] vfio: Helper to get IRQ info including capabilities, Eric Auger, 2021/02/25
- [RFC v8 17/28] vfio/pci: Register handler for iommu fault, Eric Auger, 2021/02/25