From: Triviño Date: Fri, 10 Jun 2016 14:47:43 +0000 (+0200) Subject: sif: sif_qp: remove flush_sq_done_wa4074 condition from WA#3714 X-Git-Tag: v4.1.12-92~129^2~23 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ec07fe3d9803044a83004921a585e50de07b5ea1;p=users%2Fjedix%2Flinux-maple.git sif: sif_qp: remove flush_sq_done_wa4074 condition from WA#3714 Commit ab5d21b added flush_sq_done_wa4074 condition to the WA#3714 check. As a result, WA#3714 is never called. This commit removes the condition. Signed-off-by: Triviño Reviewed-by: Knut Omang --- diff --git a/drivers/infiniband/hw/sif/sif_qp.c b/drivers/infiniband/hw/sif/sif_qp.c index 82408cb60313..6e3301a9bb58 100644 --- a/drivers/infiniband/hw/sif/sif_qp.c +++ b/drivers/infiniband/hw/sif/sif_qp.c @@ -2284,7 +2284,6 @@ static int reset_qp(struct sif_dev *sdev, struct sif_qp *qp) /* WA 3714 special handling */ need_wa_3714 = (PSIF_REVISION(sdev) <= 3) && IS_PSIF(sdev) /* Next check if there is a retry outstanding */ - && !qp->flush_sq_done_wa4074 && (get_psif_qp_core__retry_tag_committed(&qp->d.state) != get_psif_qp_core__retry_tag_err(&qp->d.state)) && (qp->qp_idx != sdev->flush_qp);