Loading drivers/platform/msm/ipa/ipa_v2/ipa.c +7 −7 Original line number Diff line number Diff line Loading @@ -3917,22 +3917,22 @@ static int ipa_smmu_uc_cb_probe(struct device *dev) return -EPROBE_DEFER; } ret = arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } if (smmu_disable_htw) { if (iommu_domain_set_attr(cb->mapping->domain, DOMAIN_ATTR_COHERENT_HTW_DISABLE, &disable_htw)) { IPAERR("couldn't disable coherent HTW\n"); arm_iommu_detach_device(cb->dev); return -EIO; } } ret = arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } cb->valid = true; cb->next_addr = IPA_SMMU_UC_VA_END; ipa_ctx->uc_pdev = dev; Loading drivers/platform/msm/ipa/ipa_v3/ipa.c +7 −7 Original line number Diff line number Diff line Loading @@ -4028,22 +4028,22 @@ static int ipa_smmu_uc_cb_probe(struct device *dev) return -EPROBE_DEFER; } ret = ipa3_arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } if (smmu_disable_htw) { if (iommu_domain_set_attr(cb->mapping->domain, DOMAIN_ATTR_COHERENT_HTW_DISABLE, &disable_htw)) { IPAERR("couldn't disable coherent HTW\n"); ipa3_arm_iommu_detach_device(cb->dev); return -EIO; } } ret = ipa3_arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } cb->valid = true; cb->next_addr = IPA_SMMU_UC_VA_END; ipa3_ctx->uc_pdev = dev; Loading Loading
drivers/platform/msm/ipa/ipa_v2/ipa.c +7 −7 Original line number Diff line number Diff line Loading @@ -3917,22 +3917,22 @@ static int ipa_smmu_uc_cb_probe(struct device *dev) return -EPROBE_DEFER; } ret = arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } if (smmu_disable_htw) { if (iommu_domain_set_attr(cb->mapping->domain, DOMAIN_ATTR_COHERENT_HTW_DISABLE, &disable_htw)) { IPAERR("couldn't disable coherent HTW\n"); arm_iommu_detach_device(cb->dev); return -EIO; } } ret = arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } cb->valid = true; cb->next_addr = IPA_SMMU_UC_VA_END; ipa_ctx->uc_pdev = dev; Loading
drivers/platform/msm/ipa/ipa_v3/ipa.c +7 −7 Original line number Diff line number Diff line Loading @@ -4028,22 +4028,22 @@ static int ipa_smmu_uc_cb_probe(struct device *dev) return -EPROBE_DEFER; } ret = ipa3_arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } if (smmu_disable_htw) { if (iommu_domain_set_attr(cb->mapping->domain, DOMAIN_ATTR_COHERENT_HTW_DISABLE, &disable_htw)) { IPAERR("couldn't disable coherent HTW\n"); ipa3_arm_iommu_detach_device(cb->dev); return -EIO; } } ret = ipa3_arm_iommu_attach_device(cb->dev, cb->mapping); if (ret) { IPAERR("could not attach device ret=%d\n", ret); return ret; } cb->valid = true; cb->next_addr = IPA_SMMU_UC_VA_END; ipa3_ctx->uc_pdev = dev; Loading