Add JAILHOUSE_IOMMU_ARM_MMU500 to the Jailhouse iommu type. Add
arm_sid_mask to struct jailhouse_iommu, and it is a mask of StreamID
bits irrelevant to the matching process.

Signed-off-by: Alice Guo <alice....@nxp.com>
---
 include/jailhouse/cell-config.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h
index 2a968dd5..592341df 100644
--- a/include/jailhouse/cell-config.h
+++ b/include/jailhouse/cell-config.h
@@ -260,6 +260,7 @@ struct jailhouse_pci_capability {
 #define JAILHOUSE_IOMMU_INTEL          2
 #define JAILHOUSE_IOMMU_SMMUV3         3
 #define JAILHOUSE_IOMMU_PVU            4
+#define JAILHOUSE_IOMMU_ARM_MMU500     5
 
 struct jailhouse_iommu {
        __u32 type;
@@ -279,6 +280,8 @@ struct jailhouse_iommu {
                        __u32 tlb_size;
                } __attribute__((packed)) tipvu;
        };
+
+       __u32 arm_sid_mask;
 } __attribute__((packed));
 
 struct jailhouse_pio {
-- 
2.17.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20200917040554.4599-2-alice.guo%40nxp.com.

Reply via email to