]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: BZ4074: clean up the workaround
authorWei Lin Guay <wei.lin.guay@oracle.com>
Thu, 23 Jun 2016 18:34:35 +0000 (20:34 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:44:12 +0000 (16:44 +0200)
commitd55d9cfef3db2dfc20595872f54e633b8d818421
tree266c13d8919b8ea2118e374f73ab01ead7cdeac3
parenta2c54bcfcfa9b7cbfa67b2715f5ef927424e44be
sif: BZ4074: clean up the workaround

Orabug: 23607042

This patch cleans up workaround 4074 in reviewing
the code while working on Orabug: 23607042.

1) This patch replaces the epsc_query_qp with reading
   the QPS from the memory directly.
   As the QP is already in RESET state,  accessing
   the QPS info from EPSC might potentially cause
   any unexpected returned data.
2) Remove the unused function sq_flush_wa4074.
3) For readibility, use the correct PSIF enum to
   mask PSIF specific WC code.

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_cq.c
drivers/infiniband/hw/sif/sif_r3.c