1. 19 1月, 2021 1 次提交
  2. 24 11月, 2020 1 次提交
  3. 27 10月, 2020 9 次提交
  4. 17 10月, 2020 1 次提交
  5. 18 9月, 2020 2 次提交
  6. 11 9月, 2020 1 次提交
    • J
      RDMA/umem: Split ib_umem_num_pages() into ib_umem_num_dma_blocks() · a665aca8
      Jason Gunthorpe 提交于
      ib_umem_num_pages() should only be used by things working with the SGL in
      CPU pages directly.
      
      Drivers building DMA lists should use the new ib_num_dma_blocks() which
      returns the number of blocks rdma_umem_for_each_block() will return.
      
      To make this general for DMA drivers requires a different implementation.
      Computing DMA block count based on umem->address only works if the
      requested page size is < PAGE_SIZE and/or the IOVA == umem->address.
      
      Instead the number of DMA pages should be computed in the IOVA address
      space, not umem->address. Thus the IOVA has to be stored inside the umem
      so it can be used for these calculations.
      
      For now set it to umem->address by default and fix it up if
      ib_umem_find_best_pgsz() was called. This allows drivers to be converted
      to ib_umem_num_dma_blocks() safely.
      
      Link: https://lore.kernel.org/r/6-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.comSigned-off-by: NJason Gunthorpe <jgg@nvidia.com>
      a665aca8
  7. 10 9月, 2020 4 次提交
  8. 24 8月, 2020 1 次提交
  9. 21 7月, 2020 1 次提交
  10. 17 7月, 2020 1 次提交
  11. 07 7月, 2020 2 次提交
  12. 23 6月, 2020 4 次提交
  13. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  14. 26 5月, 2020 1 次提交
  15. 12 5月, 2020 1 次提交
  16. 05 3月, 2020 1 次提交
  17. 21 2月, 2020 1 次提交
  18. 12 2月, 2020 1 次提交
    • K
      RDMA/iw_cxgb4: initiate CLOSE when entering TERM · d219face
      Krishnamraju Eraparaju 提交于
      As per draft-hilland-iwarp-verbs-v1.0, sec 6.2.3, always initiate a CLOSE
      when entering into TERM state.
      
      In c4iw_modify_qp(), disconnect operation should only be performed when
      the modify_qp call is invoked from ib_core. And all other internal
      modify_qp calls(invoked within iw_cxgb4) that needs 'disconnect' should
      call c4iw_ep_disconnect() explicitly after modify_qp. Otherwise, deadlocks
      like below can occur:
      
       Call Trace:
        schedule+0x2f/0xa0
        schedule_preempt_disabled+0xa/0x10
        __mutex_lock.isra.5+0x2d0/0x4a0
        c4iw_ep_disconnect+0x39/0x430    => tries to reacquire ep lock again
        c4iw_modify_qp+0x468/0x10d0
        rx_data+0x218/0x570              => acquires ep lock
        process_work+0x5f/0x70
        process_one_work+0x1a7/0x3b0
        worker_thread+0x30/0x390
        kthread+0x112/0x130
        ret_from_fork+0x35/0x40
      
      Fixes: d2c33370 ("RDMA/iw_cxgb4: Always disconnect when QP is transitioning to TERMINATE state")
      Link: https://lore.kernel.org/r/20200204091230.7210-1-krishna2@chelsio.comSigned-off-by: NKrishnamraju Eraparaju <krishna2@chelsio.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      d219face
  19. 16 1月, 2020 1 次提交
  20. 17 11月, 2019 2 次提交
  21. 29 10月, 2019 2 次提交
  22. 19 10月, 2019 1 次提交