Skip to content

SG fix together with update to RDMA umem

Maor Gottlieb dri-devel intel-gfx linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 6 repliesIn review

Changes in v4 from the cover letter

* Unify sg_free_table_entries with __sg_free_table
v3: https://lore.kernel.org/lkml/[email protected]/
* Rewrote to new API suggestion
* Split for more patches
v2: https://lore.kernel.org/lkml/[email protected]
* Changed implementation of first patch, based on our discussion with
* Christoph.
https://lore.kernel.org/lkml/[email protected]/
v1: https://lore.kernel.org/lkml/[email protected]/
* Fixed sg_page with a _dma_ API in the umem.c
v0: https://lore.kernel.org/lkml/[email protected]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/scatterlist: Provide a dedicated function to support table appenddrivers/gpu/drm/drm_prime.c drivers/gpu/drm/i915/gem/i915_gem_userptr.c drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c +4 more+90 -520 replies
2/3lib/scatterlist: Fix wrong update of orig_nentsdrivers/infiniband/core/umem.c include/linux/scatterlist.h include/rdma/ib_umem.h +3 more+137 -923 replies
3/3RDMA: Use the sg_table directly and remove the opencoded version from umemdrivers/infiniband/core/umem.c drivers/infiniband/core/umem_dmabuf.c drivers/infiniband/hw/hns/hns_roce_db.c +10 more+59 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH rdma-next v4 0/3] SG fix together with update to RDMA umem

From: Maor Gottlieb <[email protected]>

Changelog:
v4:
* Unify sg_free_table_entries with __sg_free_table
v3: https://lore.kernel.org/lkml/[email protected]/
* Rewrote to new API suggestion
* Split for more patches
v2: https://lore.kernel.org/lkml/[email protected]
* Changed implementation of first patch, based on our discussion with
* Christoph.
https://lore.kernel.org/lkml/[email protected]/
v1: https://lore.kernel.org/lkml/[email protected]/
* Fixed sg_page with a _dma_ API in the umem.c
v0: https://lore.kernel.org/lkml/[email protected]

Maor Gottlieb (3):
lib/scatterlist: Provide a dedicated function to support table append lib/scatterlist: Fix wrong update of orig_nents
RDMA: Use the sg_table directly and remove the opencoded version from
umem

 drivers/gpu/drm/drm_prime.c                 |  13 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c |  11 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c  |  14 +-
 drivers/infiniband/core/umem.c              |  56 ++++---
 drivers/infiniband/core/umem_dmabuf.c       |   5 +-
 drivers/infiniband/hw/hns/hns_roce_db.c     |   4 +-
 drivers/infiniband/hw/irdma/verbs.c         |   2 +-
 drivers/infiniband/hw/mlx4/doorbell.c       |   3 +-
 drivers/infiniband/hw/mlx4/mr.c             |   4 +-
 drivers/infiniband/hw/mlx5/doorbell.c       |   3 +-
 drivers/infiniband/hw/mlx5/mr.c             |   3 +-
 drivers/infiniband/hw/qedr/verbs.c          |   2 +-
 drivers/infiniband/sw/rdmavt/mr.c           |   2 +-
 drivers/infiniband/sw/rxe/rxe_mr.c          |   2 +-
 include/linux/scatterlist.h                 |  56 +++++--
 include/rdma/ib_umem.h                      |  11 +-
 include/rdma/ib_verbs.h                     |  28 ++++
 lib/scatterlist.c                           | 155 ++++++++++++--------
 lib/sg_pool.c                               |   3 +-
 tools/testing/scatterlist/main.c            |  38 +++--
 20 files changed, 258 insertions(+), 157 deletions(-)
Signature · 1 line
2.25.4