linux-stable/drivers/infiniband/hw
Michael J. Ruhl f2a3bc00a0 IB/hfi1: Protect context array set/clear with spinlock
The rcd array can be accessed from user context or during interrupts.
Protecting this with a mutex isn't a good idea because the mutex should
not be used from an IRQ.

Protect the allocation and freeing of rcd array elements with a
spinlock.

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/hfi1: Protect context array set/clear with spinlock 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