Loading drivers/iommu/msm_iommu-v1.c +4 −2 Original line number Diff line number Diff line Loading @@ -355,8 +355,10 @@ static void __sync_tlb(struct msm_iommu_drvdata *iommu_drvdata, int ctx, SET_TLBSYNC(base, ctx, 0); /* No barrier needed due to read dependency */ res = readl_poll_timeout_atomic(CTX_REG(CB_TLBSTATUS, base, ctx), val, (val & CB_TLBSTATUS_SACTIVE) == 0, 10000, 50); res = readl_relaxed_poll_timeout_atomic( CTX_REG(CB_TLBSTATUS, base, ctx), val, (val & CB_TLBSTATUS_SACTIVE) == 0, 1, 500000); if (res) check_tlb_sync_state(iommu_drvdata, ctx, priv); } Loading Loading
drivers/iommu/msm_iommu-v1.c +4 −2 Original line number Diff line number Diff line Loading @@ -355,8 +355,10 @@ static void __sync_tlb(struct msm_iommu_drvdata *iommu_drvdata, int ctx, SET_TLBSYNC(base, ctx, 0); /* No barrier needed due to read dependency */ res = readl_poll_timeout_atomic(CTX_REG(CB_TLBSTATUS, base, ctx), val, (val & CB_TLBSTATUS_SACTIVE) == 0, 10000, 50); res = readl_relaxed_poll_timeout_atomic( CTX_REG(CB_TLBSTATUS, base, ctx), val, (val & CB_TLBSTATUS_SACTIVE) == 0, 1, 500000); if (res) check_tlb_sync_state(iommu_drvdata, ctx, priv); } Loading