[PATCH openEuler-OLK-6.6 034/129] iommu/arm-smmu-v3: Move the CD generation for SVA into a function