mirror_ubuntu-kernels/drivers/infiniband/hw
Jack Morgenstein ceb7decb36 IB/mlx4: Fix spinlock order to avoid lockdep warnings
lockdep warns about taking a hard-irq-unsafe lock (sriov->id_map_lock)
inside a hard-irq-safe lock (sriov->going_down_lock).

Since id_map_lock is never taken in the interrupt context, we can
simply reverse the order of taking the two spinlocks, thus avoiding
the warning and the depencency.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-11-29 12:14:45 -08:00
..
amso1100 IB: Fix typos in infiniband drivers 2012-08-15 11:56:19 -07:00
cxgb3 IB: Fix typos in infiniband drivers 2012-08-15 11:56:19 -07:00
cxgb4 RDMA/cxgb4: Don't free chunk that we have failed to allocate 2012-10-22 11:05:00 -07:00
ehca mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
ipath mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
mlx4 IB/mlx4: Fix spinlock order to avoid lockdep warnings 2012-11-29 12:14:45 -08:00
mthca IB/mthca: Use PCI Express Capability accessors 2012-08-23 10:11:15 -06:00
nes RDMA/nes: Bump the version number of nes driver 2012-10-03 14:27:59 -07:00
ocrdma RDMA/ocrdma: Fix CQE expansion of unsignaled WQE 2012-09-14 10:40:58 -07:00
qib mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00