From: Lokesh Vutla <[email protected]> Add smmu v3 specific information inside jailhouse iommu. Using this the root cell can pass smmu specific information from the configuration file.
Signed-off-by: Lokesh Vutla <[email protected]> --- include/jailhouse/cell-config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h index 9a26a2c5..61f6fdbc 100644 --- a/include/jailhouse/cell-config.h +++ b/include/jailhouse/cell-config.h @@ -194,6 +194,7 @@ struct jailhouse_pci_capability { enum jailhouse_iommu_type { JAILHOUSE_IOMMU_AMD, + JAILHOUSE_IOMMU_SMMUV3, }; struct jailhouse_iommu_amd { @@ -205,10 +206,16 @@ struct jailhouse_iommu_amd { __u32 amd_features; }; +struct jailhouse_iommu_smmuv3 { + __u64 smmu_base; + __u32 smmu_size; +}; + struct jailhouse_iommu { __u32 type; union { struct jailhouse_iommu_amd amd; + struct jailhouse_iommu_smmuv3 smmuv3; }; } __attribute__((packed)); -- 2.21.0 -- 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]. For more options, visit https://groups.google.com/d/optout.
