1. 04 12月, 2021 1 次提交
  2. 15 10月, 2021 1 次提交
  3. 04 10月, 2021 4 次提交
  4. 10 9月, 2021 1 次提交
  5. 29 7月, 2021 1 次提交
  6. 20 7月, 2021 1 次提交
  7. 16 7月, 2021 1 次提交
    • J
      qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union() · 6206b798
      Jia He 提交于
      Liajian reported a bug_on hit on a ThunderX2 arm64 server with FastLinQ
      QL41000 ethernet controller:
       BUG: scheduling while atomic: kworker/0:4/531/0x00000200
        [qed_probe:488()]hw prepare failed
        kernel BUG at mm/vmalloc.c:2355!
        Internal error: Oops - BUG: 0 [#1] SMP
        CPU: 0 PID: 531 Comm: kworker/0:4 Tainted: G W 5.4.0-77-generic #86-Ubuntu
        pstate: 00400009 (nzcv daif +PAN -UAO)
       Call trace:
        vunmap+0x4c/0x50
        iounmap+0x48/0x58
        qed_free_pci+0x60/0x80 [qed]
        qed_probe+0x35c/0x688 [qed]
        __qede_probe+0x88/0x5c8 [qede]
        qede_probe+0x60/0xe0 [qede]
        local_pci_probe+0x48/0xa0
        work_for_cpu_fn+0x24/0x38
        process_one_work+0x1d0/0x468
        worker_thread+0x238/0x4e0
        kthread+0xf0/0x118
        ret_from_fork+0x10/0x18
      
      In this case, qed_hw_prepare() returns error due to hw/fw error, but in
      theory work queue should be in process context instead of interrupt.
      
      The root cause might be the unpaired spin_{un}lock_bh() in
      _qed_mcp_cmd_and_union(), which causes botton half is disabled incorrectly.
      Reported-by: NLijian Zhang <Lijian.Zhang@arm.com>
      Signed-off-by: NJia He <justin.he@arm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6206b798
  8. 04 6月, 2021 1 次提交
  9. 24 8月, 2020 1 次提交
  10. 01 8月, 2020 1 次提交
  11. 21 7月, 2020 3 次提交
  12. 10 7月, 2020 1 次提交
  13. 01 7月, 2020 2 次提交
  14. 15 5月, 2020 4 次提交
  15. 27 1月, 2020 3 次提交
  16. 01 9月, 2019 1 次提交
  17. 16 8月, 2019 1 次提交
  18. 27 5月, 2019 1 次提交
  19. 09 2月, 2019 1 次提交
  20. 29 1月, 2019 2 次提交
  21. 26 1月, 2019 1 次提交
  22. 23 1月, 2019 2 次提交
  23. 28 11月, 2018 2 次提交
  24. 04 11月, 2018 1 次提交
    • A
      qed: fix link config error handling · 92619210
      Arnd Bergmann 提交于
      gcc-8 notices that qed_mcp_get_transceiver_data() may fail to
      return a result to the caller:
      
      drivers/net/ethernet/qlogic/qed/qed_mcp.c: In function 'qed_mcp_trans_speed_mask':
      drivers/net/ethernet/qlogic/qed/qed_mcp.c:1955:2: error: 'transceiver_type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      When an error is returned by qed_mcp_get_transceiver_data(), we
      should propagate that to the caller of qed_mcp_trans_speed_mask()
      rather than continuing with uninitialized data.
      
      Fixes: c56a8be7 ("qed: Add supported link and advertise link to display in ethtool.")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      92619210
  25. 24 10月, 2018 1 次提交
    • R
      qed: Fix static checker warning · 68203a67
      Rahul Verma 提交于
      	Static Checker Warnings:
      	drivers/net/ethernet/qlogic/qed/qed_main.c:1510 qed_fill_link_capability()
      	error: uninitialized symbol 'tcvr_state'.
      	drivers/net/ethernet/qlogic/qed/qed_mcp.c:1951 qed_mcp_trans_speed_mask()
      	error: uninitialized symbol 'transceiver_state'.
      	drivers/net/ethernet/qlogic/qed/qed_mcp.c:1951 qed_mcp_trans_speed_mask()
      	error: uninitialized symbol 'transceiver_type'.
      
      	Symbols tcvr_state, transceiver_state and transceiver_type
      	are initialized with respective default state.
      
      Fixes: c56a8be7 ("qed: Add supported link and advertise link to display in ethtool.")
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NRahul Verma <Rahul.Verma@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      68203a67
  26. 19 10月, 2018 1 次提交