linux/drivers/infiniband/hw/mlx4
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
..
ah.c
alias_GUID.c IB/mlx4: Fix build error on platforms where UL is not 64 bits 2012-10-18 10:29:01 -07:00
cm.c IB/mlx4: Fix spinlock order to avoid lockdep warnings 2012-11-29 12:14:45 -08:00
cq.c mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00
doorbell.c
Kconfig
mad.c IB/mlx4: Fix QP1 P_Key processing in the Primary Physical Function (PPF) 2012-10-18 10:29:02 -07:00
main.c mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00
Makefile
mcg.c IB/mlx4: Synchronize cleanup of MCGs in MCG paravirtualization 2012-10-18 10:29:02 -07:00
mlx4_ib.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00
mr.c
qp.c
srq.c
sysfs.c
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00