Backport DMABUF support from Upstream to Ubuntu Jammy

Bug #2038589 reported by Tushar Dave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

DAMBUF is backported using the two series of patches:

First, we need the series of 3 patches at:
  https://<email address hidden>/

- dma-buf: Fix pin callback comment
- RDMA/umem: Allow pinned dmabuf umem usage
- RDMA/efa: Add support for dmabuf memory regions

Second, we need series of 4 patches at:
  https://<email address hidden>/

Note: The changes made by first patch in series "net/mlx5: Add IFC bits for mkey ATS" had already been there in Ubuntu jammy "master-next"

- (Already there in jammy ) net/mlx5: Add IFC bits for mkey ATS
- RDMA/core: Add UVERBS_ATTR_RAW_FD
- RDMA/mlx5: Add support for dmabuf to devx umem
- RDMA/mlx5: Enable ATS support for MRs and umems

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2038589

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Tushar Dave (tdavenvidia) wrote :

The following changes since commit 294374341c622e5c2ffd15712cadabe0dd9865f1:

  UBUNTU: Ubuntu-5.15.0-83.92 (2023-08-14 11:05:34 +0200)

are available in the Git repository at:

  https://github.com/tdavenvidia/ubuntu_kernel_jammy/pull/3

for you to fetch changes up to 11ef7073533e332ce5ec96ef9aa3f693e7184b49:

  RDMA/mlx5: Enable ATS support for MRs and umems (2023-10-05 15:55:57 -0700)

----------------------------------------------------------------
Gal Pressman (3):
      dma-buf: Fix pin callback comment
      RDMA/umem: Allow pinned dmabuf umem usage
      RDMA/efa: Add support for dmabuf memory regions

Jason Gunthorpe (3):
      RDMA/core: Add UVERBS_ATTR_RAW_FD
      RDMA/mlx5: Add support for dmabuf to devx umem
      RDMA/mlx5: Enable ATS support for MRs and umems

drivers/infiniband/core/umem_dmabuf.c | 51 ++++++++++++++++++++++++++++++++++++++++++++
drivers/infiniband/core/uverbs_ioctl.c | 8 +++++++
drivers/infiniband/hw/efa/efa.h | 4 ++++
drivers/infiniband/hw/efa/efa_main.c | 1 +
drivers/infiniband/hw/efa/efa_verbs.c | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------
drivers/infiniband/hw/mlx5/devx.c | 54 +++++++++++++++++++++++++++++++++--------------
drivers/infiniband/hw/mlx5/mlx5_ib.h | 36 +++++++++++++++++++++++++++++++
drivers/infiniband/hw/mlx5/mr.c | 5 ++++-
include/linux/dma-buf.h | 4 ++--
include/rdma/ib_umem.h | 11 ++++++++++
include/rdma/uverbs_ioctl.h | 13 ++++++++++++
include/uapi/rdma/mlx5_user_ioctl_cmds.h | 1 +
12 files changed, 265 insertions(+), 50 deletions(-)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.