WSL2-Linux-Kernel/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
..
Kconfig mlx4: Fix infiniband Kconfig dependencies. 2011-08-11 23:05:05 -07:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
ah.c IB/mlx4: Fix SL to 802.1Q priority-bits mapping for IBoE 2012-01-03 21:00:02 -08:00
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
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
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 IB/mlx4: Replace printk(KERN_yyy...) with pr_yyy(...) 2012-05-08 11:59:36 -07:00
qp.c Merge branches 'cma', 'cxgb4', 'ipoib', 'mlx4', 'mlx4-sriov', 'nes', 'qib' and 'srp' into for-linus 2012-10-02 07:43:59 -07:00
srq.c IB/mlx4: Replace printk(KERN_yyy...) with pr_yyy(...) 2012-05-08 11:59:36 -07:00
sysfs.c IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00