[PATCH openEuler-OLK-6.6 032/129] iommu/arm-smmu-v3: Make arm_smmu_alloc_cd_ptr()