[PATCH V2 for-next 8/8] RDMA/hns: Replace usleep_range with udelay when checking command status

2017-09-29 Thread Wei Hu (Xavier)
From: Lijun Ou It replaces usleep_range with udelay to avoid using usleep_range function in spin_lock_bh spin region, because it probably cause calltrace. BUG: scheduling while atomic: insmod/1428/0x0002 Modules linked in: hns-roce-hw-v2(+) hns_roce rdma_ucm rdma_cm

[PATCH V2 for-next 8/8] RDMA/hns: Replace usleep_range with udelay when checking command status

2017-09-29 Thread Wei Hu (Xavier)
From: Lijun Ou It replaces usleep_range with udelay to avoid using usleep_range function in spin_lock_bh spin region, because it probably cause calltrace. BUG: scheduling while atomic: insmod/1428/0x0002 Modules linked in: hns-roce-hw-v2(+) hns_roce rdma_ucm rdma_cm iw_cm ib_uverbs ib_cm