This is to introduce an erratum framework to smmu driver similar to the one in arm_arch_timer code. Signed-off-by: shameer <shameerali.kolothum.thodi@xxxxxxxxxx> --- drivers/iommu/arm-smmu-v3.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index bbd46ef..a166590 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -660,6 +660,20 @@ static struct arm_smmu_option_prop arm_smmu_options[] = { { 0, NULL}, }; +enum smmu_erratum_match_type { + se_match_dt, +}; + +struct smmu_erratum_workaround { + enum smmu_erratum_match_type match_type; + const void *id; /* Indicate the Erratum ID */ + const char *desc_str; +}; + +static const struct smmu_erratum_workaround smmu_workarounds[] = { + +}; + static struct arm_smmu_domain *to_smmu_domain(struct iommu_domain *dom) { return container_of(dom, struct arm_smmu_domain, domain); -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html