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 <[email protected]> --- include/jailhouse/cell-config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h index 2a968dd5..fcc58cfb 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; @@ -278,6 +279,10 @@ struct jailhouse_iommu { __u64 tlb_base; __u32 tlb_size; } __attribute__((packed)) tipvu; + + struct { + __u32 sid_mask; + } __attribute__((packed)) arm_mmu500; }; } __attribute__((packed)); -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20200922064542.26274-2-alice.guo%40nxp.com.
