1. 08 11月, 2018 5 次提交
  2. 01 11月, 2018 2 次提交
  3. 23 10月, 2018 1 次提交
  4. 11 10月, 2018 2 次提交
  5. 06 10月, 2018 1 次提交
  6. 29 9月, 2018 1 次提交
  7. 22 9月, 2018 5 次提交
  8. 20 9月, 2018 5 次提交
  9. 04 8月, 2018 1 次提交
  10. 07 7月, 2018 2 次提交
  11. 02 7月, 2018 3 次提交
  12. 29 6月, 2018 3 次提交
  13. 07 6月, 2018 2 次提交
  14. 06 6月, 2018 1 次提交
  15. 02 6月, 2018 3 次提交
  16. 29 5月, 2018 1 次提交
  17. 21 5月, 2018 2 次提交
    • Y
      net: hns3: Fix for CMDQ and Misc. interrupt init order problem · eddf0462
      Yunsheng Lin 提交于
      When vf module is loading, the cmd queue initialization should
      happen before misc interrupt initialization, otherwise the misc
      interrupt handle will cause using uninitialized cmd queue problem.
      There is also the same issue when vf module is unloading.
      
      This patch fixes it by adjusting the location of some function.
      
      Fixes: e2cb1dec ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support")
      Signed-off-by: NYunsheng Lin <linyunsheng@huawei.com>
      Signed-off-by: NPeng Li <lipeng321@huawei.com>
      Signed-off-by: NSalil Mehta <salil.mehta@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eddf0462
    • X
      net: hns3: Fix for hns3 module is loaded multiple times problem · 3c7624d8
      Xi Wang 提交于
      If the hns3 driver has been built into kernel and then loaded with
      the same driver which built as KLM, it may trigger an error like
      below:
      
      [   20.009555] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
      [   20.016789] hns3: Copyright (c) 2017 Huawei Corporation.
      [   20.022100] Error: Driver 'hns3' is already registered, aborting...
      [   23.517397] Unable to handle kernel NULL pointer dereference at virtual address 00000000
      ...
      [   23.691583] Process insmod (pid: 1982, stack limit = 0x00000000cd5f21cb)
      [   23.698270] Call trace:
      [   23.700705]  __list_del_entry_valid+0x2c/0xd8
      [   23.705049]  hnae3_unregister_client+0x68/0xa8
      [   23.709487]  hns3_init_module+0x98/0x1000 [hns3]
      [   23.714093]  do_one_initcall+0x5c/0x170
      [   23.717918]  do_init_module+0x64/0x1f4
      [   23.721654]  load_module+0x1d14/0x24b0
      [   23.725390]  SyS_init_module+0x158/0x208
      [   23.729300]  el0_svc_naked+0x30/0x34
      
      This patch fixes it by adding module version info.
      
      Fixes: 38caee9d ("net: hns3: Add support of the HNAE3 framework")
      Signed-off-by: NXi Wang <wangxi11@huawei.com>
      Signed-off-by: NSalil Mehta <salil.mehta@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3c7624d8