]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sif: sif_qp: remove flush_sq_done_wa4074 condition from WA#3714
authorTriviño <francisco.trivino@oracle.com>
Fri, 10 Jun 2016 14:47:43 +0000 (16:47 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:45 +0000 (16:01 +0200)
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 <francisco.trivino@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_qp.c

index 82408cb60313ac0bed87406e6a975c156fbc4e60..6e3301a9bb582d91a50806e93804645079ef2ddc 100644 (file)
@@ -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);