]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: cq: Do not invalidate the CQ until completion of events
authorWei Lin Guay <wei.lin.guay@oracle.com>
Tue, 14 Jun 2016 12:33:07 +0000 (14:33 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:47 +0000 (16:01 +0200)
commit932e0ce2d9cafb3107130b311354f580b7f71410
tree496eaf9cb649f27bc1f76e740db5d75fc85bdf8b
parent77d8d61a22ed6ce29c4ce627abd261af5f3318be
sif: cq: Do not invalidate the CQ until completion of events

The CQ completion event might be performed while the CQ
has been invalidated. Besides, adding a check in the
sif_req_notify_cq for not rearming the CQ if the CQ
has been invalidated.

This fixes a scenario reported in Orabug: #23491094.

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