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 caf2fba8..17d3bf7e 100644 --- a/include/jailhouse/cell-config.h +++ b/include/jailhouse/cell-config.h @@ -203,6 +203,7 @@ struct jailhouse_pci_capability { enum jailhouse_iommu_type { JAILHOUSE_IOMMU_AMD, JAILHOUSE_IOMMU_INTEL, + JAILHOUSE_IOMMU_SMMUV3, }; struct jailhouse_iommu_amd { @@ -219,11 +220,17 @@ struct jailhouse_iommu_intel { __u32 size; }; +struct jailhouse_iommu_smmuv3 { + __u64 smmu_base; + __u32 smmu_size; +}; + struct jailhouse_iommu { __u32 type; union { struct jailhouse_iommu_amd amd; struct jailhouse_iommu_intel intel; + struct jailhouse_iommu_smmuv3 smmuv3; }; } __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/20190702143607.16525-5-p-yadav1%40ti.com. For more options, visit https://groups.google.com/d/optout.
