[PATCH OLK-6.6 11/77] iommu/arm-smmu-v3: Move the STE generation for S1 and S2 domains into functions