linux_dsm_epyc7002/drivers/net/ethernet/qlogic
Jia-Ju Bai 5ea6d691aa qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M
The driver may sleep under a write spin lock, and the function
call path is:
qlcnic_82xx_hw_write_wx_2M (acquire the lock by write_lock_irqsave)
  crb_win_lock
    qlcnic_pcie_sem_lock
      usleep_range
qlcnic_82xx_hw_read_wx_2M (acquire the lock by write_lock_irqsave)
  crb_win_lock
    qlcnic_pcie_sem_lock
      usleep_range

To fix it, the usleep_range is replaced with udelay.

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-01 11:42:19 -04:00
..
netxen netxen_nic: set rcode to the return status from the call to netxen_issue_cmd 2017-05-11 12:16:04 -04:00
qed qed: Don't log missing periodic stats by default 2017-05-30 12:38:00 -04:00
qede qede: Split PF/VF ndos. 2017-05-09 11:24:22 -04:00
qlcnic qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M 2017-06-01 11:42:19 -04:00
qlge qlge: Avoid reading past end of buffer 2017-05-08 14:41:42 -04:00
Kconfig qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
Makefile qede: Add basic Network driver 2015-10-27 19:34:47 -07:00
qla3xxx.c net: qlogic: qla3xxx: use new api ethtool_{get|set}_link_ksettings 2017-02-20 10:27:17 -05:00
qla3xxx.h