linux/drivers/infiniband/hw
Michael J. Ruhl d295dbeb2a IB/hf1: User context locking is inconsistent
There is a mixture of mutex and spinlocks to protect receive context
(rcd/uctxt) information.  This is not used consistently.

Use the mutex to protect device receive context information only.
Use the spinlock to protect sub context information only.

Protect access to items in the rcd array with a spinlock and
reference count.

Remove spinlock around dd->rcd array cleanup.  Since interrupts are
disabled and cleaned up before this point, this lock is not useful.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-22 14:22:36 -04:00
..
bnxt_re RDMA/bnxt_re: Implement the alloc/get_hw_stats callback 2017-08-18 15:08:30 -04:00
cxgb3 RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
cxgb4 Merge branch 'k.o/for-4.13-rc' into k.o/for-next 2017-08-18 14:12:04 -04:00
hfi1 IB/hf1: User context locking is inconsistent 2017-08-22 14:22:36 -04:00
hns Merge branch 'k.o/for-4.13-rc' into k.o/for-next 2017-08-18 14:12:04 -04:00
i40iw Merge branch 'k.o/for-4.13-rc' into k.o/for-next 2017-08-18 14:12:04 -04:00
mlx4 Add OPA extended LID support 2017-08-18 14:47:37 -04:00
mlx5 IB/core: Fix input len in multiple user verbs 2017-08-22 14:02:29 -04:00
mthca IB/core: Fix input len in multiple user verbs 2017-08-22 14:02:29 -04:00
nes Merge branch 'misc' into k.o/for-next 2017-08-18 14:10:23 -04:00
ocrdma RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
qedr RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
qib Merge branch 'misc' into k.o/for-next 2017-08-18 14:10:23 -04:00
usnic RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
vmw_pvrdma Merge branch 'k.o/for-4.13-rc' into k.o/for-next 2017-08-18 14:12:04 -04:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00