linux/drivers/infiniband
Lang Cheng 780f33962e RDMA/hns: Move spin_lock_irqsave to the correct place
When hip08 set gid, it will call spin_unlock_bh when send cmq.  if main.ko
call spin_lock_irqsave firstly, and the kernel is before commit
f71b74bca6 ("irq/softirqs: Use lockdep to assert IRQs are
disabled/enabled"), it will cause WARN_ON_ONCE because of calling
spin_unlock_bh in disable context.

In fact, the spin_lock_irqsave in main.ko is only used for hip06, and
should be placed in hns_roce_hw_v1.c. hns_roce_hw_v2.c uses its own
spin_unlock_bh and does not need main.ko manage spin_lock.

Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-05-27 17:27:59 -03:00
..
core RDMA/core: Return void from ib_device_check_mandatory() 2019-05-21 15:30:46 -03:00
hw RDMA/hns: Move spin_lock_irqsave to the correct place 2019-05-27 17:27:59 -03:00
sw 5.2 Merge Window pull request 2019-05-09 09:02:46 -07:00
ulp RDMA/ipoib: Remove check of destroy CQ 2019-05-21 15:50:53 -03:00
Kconfig 5.2 Merge Window pull request 2019-05-09 09:02:46 -07:00
Makefile