]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: qp: Clear the QP state cq_int_err bit upon reset
authorKnut Omang <knut.omang@oracle.com>
Tue, 20 Sep 2016 07:26:59 +0000 (09:26 +0200)
committerKnut Omang <knut.omang@oracle.com>
Mon, 3 Oct 2016 12:02:24 +0000 (14:02 +0200)
commit46eac6aae1f0799531ff25be87e8686346064776
tree50f9cf6369cdf1e050fdf988ddda16b3d95120a3
parent0cccff865bdcaeef02d374b0264d85bafd6defee
sif: qp: Clear the QP state cq_int_err bit upon reset

During reset of a QP, the cq_int_err bit was not reset.
This would cause a subsequent transition to RTR to fail
and hardware to set the QP back in error again.

Orabug: 24708282

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
drivers/infiniband/hw/sif/psif_hw_macro.h
drivers/infiniband/hw/sif/psif_hw_setget.h
drivers/infiniband/hw/sif/sif_qp.c