lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250730174523.GA152963@nvidia.com>
Date: Wed, 30 Jul 2025 14:45:23 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
	Leon Romanovsky <leonro@...dia.com>
Subject: [GIT PULL] Please pull RDMA subsystem changes

Hi Linus,

Usual basic set of driver updates. Some common code improvements for
DMA Handle, MAD flow control and namespacing.

There is a small merge conflict, resolve it with:

$ git rm drivers/infiniband/hw/qib/qib_sysfs.c

Ther are now three new drivers on the list, hopefully some will come
through on the next cycle.

Thanks,
Jason

The following changes since commit 9a0048e0ae14cb7babfd459ec920234e8a2ab86e:

  net/mlx5: Expose cable_length field in PFCC register (2025-07-20 03:02:14 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus

for you to fetch changes up to ee235923d205c6de73bf5035f3cdcaee22f3291c:

  RDMA/siw: Change maintainer email address (2025-07-24 03:20:47 -0400)

----------------------------------------------------------------
RDMA v6.17 merge window pull request

- Various minor code cleanups and fixes for hns, iser, cxgb4, hfi1, rxe,
  erdma, mana_ib

- Prefetch supprot for rxe ODP

- Remove memory window support from hns as new device FW is no longer
  support it

- Remove qib, it is very old and obsolete now, Cornelis wishes to
  restructure the hfi1/qib shared layer

- Fix a race in destroying CQs where we can still end up with work running
  because the work is cancled before the driver stops triggering it

- Improve interaction with namespaces.
   * Follow the devlink namespace for newly spawned RDMA devices
   * Create iopoib net devces in the parent IB device's namespace
   * Allow CAP_NET_RAW checks to pass in user namespaces

- A new flow control scheme for IB MADs to try and avoid queue overflows
  in the network

- Fix 2G message sizes in bnxt_re

- Optimize mkey layout for mlx5 DMABUF

- New "DMA Handle" concept to allow controlling PCI TPH and steering tags

----------------------------------------------------------------
Arnd Bergmann (2):
      RDMA/core: reduce stack using in nldev_stat_get_doit()
      RDMA/siw: work around clang stack size warning

Basel Nassar (1):
      RDMA/efa: Add Network HW statistics counters

Bernard Metzler (1):
      RDMA/siw: Change maintainer email address

Colin Ian King (1):
      RDMA/mlx5: remove redundant check on err on return expression

Daisuke Matsuda (3):
      RDMA/rxe: Implement synchronous prefetch for ODP MRs
      RDMA/rxe: Enable asynchronous prefetch for ODP MRs
      RDMA/rxe: Remove redundant page presence check

Dan Carpenter (1):
      RDMA/rxe: Fix a couple IS_ERR() vs NULL bugs

Dennis Dalessandro (2):
      RDMA/qib: Remove outdated driver
      Maintainers: Remove QIB

Edward Srouji (1):
      RDMA/mlx5: Optimize DMABUF mkey page size

Junxian Huang (5):
      RDMA/hns: Remove MW support
      RDMA/hns: Get message length of ack_req from FW
      RDMA/hns: Fix accessing uninitialized resources
      RDMA/hns: Drop GFP_NOWARN
      RDMA/hns: Fix -Wframe-larger-than issue

Kalesh AP (2):
      RDMA/bnxt_re: Fix size of uverbs_copy_to() in BNXT_RE_METHOD_GET_TOGGLE_MEM
      RDMA/bnxt_re: Use macro instead of hard coded value

Konstantin Taranov (1):
      RDMA/mana_ib: add support of multiple ports

Leon Romanovsky (7):
      Add multiple priorities support to mlx5 RDMA TRANSPORT tables
      Merge branch 'mlx5-next' into wip/leon-for-next
      RDMA/uverbs: Add empty rdma_uattrs_has_raw_cap() declaration
      Optimize DMABUF mkey page size in mlx5
      RDMA/mlx5: Fix returned type from _mlx5r_umr_zap_mkey()
      RDMA/mlx5: Fix incorrect MKEY masking
      RDMA support for DMA handle

Li Jun (1):
      IB/iser: Remove unnecessary local variable

Mark Bloch (3):
      RDMA/core: Extend RDMA device registration to be net namespace aware
      RDMA/mlx5: Allocate IB device with net namespace supplied from core dev
      RDMA/ipoib: Use parent rdma device net namespace

Mark Zhang (2):
      RDMA/core: Add driver APIs pre_destroy_cq() and post_destroy_cq()
      RDMA/mlx5: Support driver APIs pre_destroy_cq and post_destroy_cq

Markus Elfring (1):
      RDMA/cxgb4: Delete an unnecessary check before kfree() in c4iw_rdev_open()

Michael Guralnik (1):
      RDMA/mlx5: Align mkc page size capability check to PRM

Michael Margolin (3):
      RDMA/uverbs: Add a common way to create CQ with umem
      RDMA/core: Add umem "is_contiguous" and "start_dma_addr" helpers
      RDMA/efa: Add CQ with external memory support

Or Har-Toov (2):
      IB/mad: Add state machine to MAD layer
      IB/mad: Add flow control for solicited MADs

Parav Pandit (9):
      RDMA/uverbs: Check CAP_NET_RAW in user namespace for flow create
      RDMA/mlx5: Check CAP_NET_RAW in user namespace for flow create
      RDMA/mlx5: Check CAP_NET_RAW in user namespace for anchor create
      RDMA/uverbs: Check CAP_NET_RAW in user namespace for QP create
      RDMA/uverbs: Check CAP_NET_RAW in user namespace for RAW QP create
      RDMA/uverbs: Check CAP_NET_RAW in user namespace for RAW QP create
      RDMA/mlx5: Check CAP_NET_RAW in user namespace for devx create
      RDMA/nldev: Check CAP_NET_RAW in user namespace for QP modify
      RDMA/counter: Check CAP_NET_RAW check in user namespace for RDMA counters

Patrisious Haddad (2):
      RDMA/mlx5: Add multiple priorities support to RDMA TRANSPORT userspace tables
      RDMA/mlx5: Refactor optional counters steering code

Selvin Xavier (1):
      RDMA/bnxt_re: Support 2G message size

Shiraz Saleem (2):
      RDMA/mana_ib: Add device statistics support
      RDMA/mana_ib: Fix DSCP value in modify QP

Thomas Fourier (1):
      Fix dma_unmap_sg() nents value

Vlad Dumitrescu (1):
      IB/cm: Use separate agent w/o flow control for REP

Yishai Hadas (8):
      PCI/TPH: Expose pcie_tph_get_st_table_size()
      net/mlx5: Expose IFC bits for TPH
      net/mlx5: Add support for device steering tag
      IB/core: Add UVERBS_METHOD_REG_MR on the MR object
      RDMA/core: Introduce a DMAH object and its alloc/free APIs
      RDMA/mlx5: Add DMAH object support
      IB: Extend UVERBS_METHOD_REG_MR to get DMAH
      RDMA/mlx5: Add DMAH support for reg_user_mr/reg_user_dmabuf_mr

Yury Norov [NVIDIA] (7):
      cpumask: add cpumask_clear_cpus()
      RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
      RDMA: hfi1: simplify find_hw_thread_mask()
      RDMA: hfi1: simplify init_real_cpu_mask()
      RDMA: hfi1: use rounddown in find_hw_thread_mask()
      RDMA: hfi1: simplify hfi1_get_proc_affinity()
      RDMI: hfi1: drop cpumask_empty() call in hfi1/affinity.c

Zhiyue Qiu (1):
      RDMA/mana_ib: add additional port counters

luoqing (1):
      RDMA/hns: ZERO_OR_NULL_PTR macro overdetection

wenglianfa (2):
      RDMA/hns: Fix double destruction of rsv_qp
      RDMA/hns: Fix HW configurations not cleared in error flow

 .mailmap                                           |    1 +
 MAINTAINERS                                        |    8 +-
 drivers/infiniband/Kconfig                         |    1 -
 drivers/infiniband/core/Makefile                   |    1 +
 drivers/infiniband/core/cm.c                       |   47 +-
 drivers/infiniband/core/counters.c                 |    2 +-
 drivers/infiniband/core/cq.c                       |   12 +-
 drivers/infiniband/core/device.c                   |   47 +-
 drivers/infiniband/core/mad.c                      |  468 +-
 drivers/infiniband/core/mad_priv.h                 |   76 +-
 drivers/infiniband/core/mad_rmpp.c                 |   41 +-
 drivers/infiniband/core/nldev.c                    |   24 +-
 drivers/infiniband/core/rdma_core.c                |   29 +
 drivers/infiniband/core/rdma_core.h                |    1 +
 drivers/infiniband/core/restrack.c                 |    2 +
 drivers/infiniband/core/uverbs_cmd.c               |   13 +-
 drivers/infiniband/core/uverbs_std_types_cq.c      |   87 +-
 drivers/infiniband/core/uverbs_std_types_dmah.c    |  145 +
 drivers/infiniband/core/uverbs_std_types_mr.c      |  172 +-
 drivers/infiniband/core/uverbs_std_types_qp.c      |    2 +-
 drivers/infiniband/core/uverbs_uapi.c              |    1 +
 drivers/infiniband/core/verbs.c                    |    5 +-
 drivers/infiniband/hw/Makefile                     |    1 -
 drivers/infiniband/hw/bnxt_re/ib_verbs.c           |   10 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.h           |    2 +
 drivers/infiniband/hw/bnxt_re/qplib_fp.c           |   28 +-
 drivers/infiniband/hw/bnxt_re/qplib_fp.h           |    3 +
 drivers/infiniband/hw/bnxt_re/qplib_sp.c           |    2 +-
 drivers/infiniband/hw/bnxt_re/qplib_sp.h           |    1 +
 drivers/infiniband/hw/cxgb4/device.c               |    3 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h             |    1 +
 drivers/infiniband/hw/cxgb4/mem.c                  |    6 +-
 drivers/infiniband/hw/efa/efa.h                    |    5 +
 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h    |   17 +-
 drivers/infiniband/hw/efa/efa_com_cmd.c            |   53 +-
 drivers/infiniband/hw/efa/efa_com_cmd.h            |   11 +-
 drivers/infiniband/hw/efa/efa_main.c               |    1 +
 drivers/infiniband/hw/efa/efa_verbs.c              |   91 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c          |    9 +-
 drivers/infiniband/hw/erdma/erdma_verbs.h          |    3 +-
 drivers/infiniband/hw/hfi1/affinity.c              |   96 +-
 drivers/infiniband/hw/hns/hns_roce_device.h        |   21 +-
 drivers/infiniband/hw/hns/hns_roce_hem.c           |   18 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c         |  134 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h         |   16 +-
 drivers/infiniband/hw/hns/hns_roce_main.c          |   32 +-
 drivers/infiniband/hw/hns/hns_roce_mr.c            |  120 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c            |    4 +-
 drivers/infiniband/hw/irdma/verbs.c                |    9 +
 drivers/infiniband/hw/mana/counters.c              |   78 +-
 drivers/infiniband/hw/mana/counters.h              |   18 +
 drivers/infiniband/hw/mana/device.c                |  120 +-
 drivers/infiniband/hw/mana/main.c                  |   13 +-
 drivers/infiniband/hw/mana/mana_ib.h               |   30 +
 drivers/infiniband/hw/mana/mr.c                    |    8 +
 drivers/infiniband/hw/mana/qp.c                    |    2 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h               |    1 +
 drivers/infiniband/hw/mlx4/mr.c                    |    4 +
 drivers/infiniband/hw/mlx5/Makefile                |    1 +
 drivers/infiniband/hw/mlx5/counters.c              |   30 +-
 drivers/infiniband/hw/mlx5/counters.h              |   13 -
 drivers/infiniband/hw/mlx5/cq.c                    |   19 +-
 drivers/infiniband/hw/mlx5/devx.c                  |    6 +-
 drivers/infiniband/hw/mlx5/dmah.c                  |   54 +
 drivers/infiniband/hw/mlx5/dmah.h                  |   23 +
 drivers/infiniband/hw/mlx5/fs.c                    |  121 +-
 drivers/infiniband/hw/mlx5/fs.h                    |    8 +-
 drivers/infiniband/hw/mlx5/ib_rep.c                |    3 +-
 drivers/infiniband/hw/mlx5/main.c                  |   13 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |   99 +-
 drivers/infiniband/hw/mlx5/mr.c                    |  116 +-
 drivers/infiniband/hw/mlx5/odp.c                   |   32 +-
 drivers/infiniband/hw/mlx5/umr.c                   |  301 +-
 drivers/infiniband/hw/mlx5/umr.h                   |   13 +-
 drivers/infiniband/hw/mthca/mthca_provider.c       |    6 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c        |    6 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h        |    3 +-
 drivers/infiniband/hw/qedr/verbs.c                 |    6 +-
 drivers/infiniband/hw/qedr/verbs.h                 |    3 +-
 drivers/infiniband/hw/qib/Kconfig                  |   17 -
 drivers/infiniband/hw/qib/Makefile                 |   17 -
 drivers/infiniband/hw/qib/qib.h                    | 1492 ----
 drivers/infiniband/hw/qib/qib_6120_regs.h          |  977 ---
 drivers/infiniband/hw/qib/qib_7220.h               |  149 -
 drivers/infiniband/hw/qib/qib_7220_regs.h          | 1496 ----
 drivers/infiniband/hw/qib/qib_7322_regs.h          | 3163 --------
 drivers/infiniband/hw/qib/qib_common.h             |  798 --
 drivers/infiniband/hw/qib/qib_debugfs.c            |  274 -
 drivers/infiniband/hw/qib/qib_debugfs.h            |   45 -
 drivers/infiniband/hw/qib/qib_diag.c               |  906 ---
 drivers/infiniband/hw/qib/qib_driver.c             |  798 --
 drivers/infiniband/hw/qib/qib_eeprom.c             |  271 -
 drivers/infiniband/hw/qib/qib_file_ops.c           | 2401 ------
 drivers/infiniband/hw/qib/qib_fs.c                 |  549 --
 drivers/infiniband/hw/qib/qib_iba6120.c            | 3533 --------
 drivers/infiniband/hw/qib/qib_iba7220.c            | 4596 -----------
 drivers/infiniband/hw/qib/qib_iba7322.c            | 8475 --------------------
 drivers/infiniband/hw/qib/qib_init.c               | 1782 ----
 drivers/infiniband/hw/qib/qib_intr.c               |  241 -
 drivers/infiniband/hw/qib/qib_mad.c                | 2450 ------
 drivers/infiniband/hw/qib/qib_mad.h                |  300 -
 drivers/infiniband/hw/qib/qib_pcie.c               |  598 --
 drivers/infiniband/hw/qib/qib_pio_copy.c           |   64 -
 drivers/infiniband/hw/qib/qib_qp.c                 |  454 --
 drivers/infiniband/hw/qib/qib_qsfp.c               |  549 --
 drivers/infiniband/hw/qib/qib_qsfp.h               |  188 -
 drivers/infiniband/hw/qib/qib_rc.c                 | 2131 -----
 drivers/infiniband/hw/qib/qib_ruc.c                |  314 -
 drivers/infiniband/hw/qib/qib_sd7220.c             | 1445 ----
 drivers/infiniband/hw/qib/qib_sdma.c               |  999 ---
 drivers/infiniband/hw/qib/qib_sysfs.c              |  731 --
 drivers/infiniband/hw/qib/qib_twsi.c               |  502 --
 drivers/infiniband/hw/qib/qib_tx.c                 |  566 --
 drivers/infiniband/hw/qib/qib_uc.c                 |  521 --
 drivers/infiniband/hw/qib/qib_ud.c                 |  583 --
 drivers/infiniband/hw/qib/qib_user_pages.c         |  137 -
 drivers/infiniband/hw/qib/qib_user_sdma.c          | 1470 ----
 drivers/infiniband/hw/qib/qib_user_sdma.h          |   52 -
 drivers/infiniband/hw/qib/qib_verbs.c              | 1705 ----
 drivers/infiniband/hw/qib/qib_verbs.h              |  398 -
 drivers/infiniband/hw/qib/qib_wc_ppc64.c           |   62 -
 drivers/infiniband/hw/qib/qib_wc_x86_64.c          |  150 -
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c       |    4 +
 drivers/infiniband/hw/usnic/usnic_ib_verbs.h       |    1 +
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c       |    5 +
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h    |    1 +
 drivers/infiniband/sw/rdmavt/mr.c                  |    5 +
 drivers/infiniband/sw/rdmavt/mr.h                  |    1 +
 drivers/infiniband/sw/rdmavt/vt.c                  |    2 +-
 drivers/infiniband/sw/rxe/rxe.c                    |    7 +
 drivers/infiniband/sw/rxe/rxe_loc.h                |   12 +
 drivers/infiniband/sw/rxe/rxe_odp.c                |  192 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c              |    4 +
 drivers/infiniband/sw/siw/siw_qp_tx.c              |   22 +-
 drivers/infiniband/sw/siw/siw_verbs.c              |    7 +-
 drivers/infiniband/sw/siw/siw_verbs.h              |    3 +-
 drivers/infiniband/ulp/ipoib/ipoib_main.c          |    2 +
 drivers/infiniband/ulp/iser/iscsi_iser.c           |    6 +-
 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |    5 +
 drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h |    5 -
 drivers/net/ethernet/mellanox/mlx5/core/lib/st.c   |  164 +
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |    2 +
 .../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |    9 +
 drivers/pci/tph.c                                  |   11 +-
 include/linux/cpumask.h                            |   12 +
 include/linux/mlx5/driver.h                        |   25 +
 include/linux/mlx5/mlx5_ifc.h                      |   14 +-
 include/linux/pci-tph.h                            |    1 +
 include/rdma/ib_umem.h                             |   25 +-
 include/rdma/ib_verbs.h                            |   65 +-
 include/rdma/restrack.h                            |    4 +
 include/uapi/rdma/efa-abi.h                        |    3 +-
 include/uapi/rdma/ib_user_ioctl_cmds.h             |   36 +
 153 files changed, 2869 insertions(+), 49167 deletions(-)
 create mode 100644 drivers/infiniband/core/uverbs_std_types_dmah.c
 create mode 100644 drivers/infiniband/hw/mlx5/dmah.c
 create mode 100644 drivers/infiniband/hw/mlx5/dmah.h
 delete mode 100644 drivers/infiniband/hw/qib/Kconfig
 delete mode 100644 drivers/infiniband/hw/qib/Makefile
 delete mode 100644 drivers/infiniband/hw/qib/qib.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_6120_regs.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_7220.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_7220_regs.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_7322_regs.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_common.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_debugfs.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_debugfs.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_diag.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_driver.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_eeprom.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_file_ops.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_fs.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_iba6120.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_iba7220.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_iba7322.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_init.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_intr.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_mad.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_mad.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_pcie.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_pio_copy.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_qp.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_qsfp.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_qsfp.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_rc.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_ruc.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_sd7220.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_sdma.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_sysfs.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_twsi.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_tx.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_uc.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_ud.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_user_pages.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_user_sdma.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_user_sdma.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_verbs.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_verbs.h
 delete mode 100644 drivers/infiniband/hw/qib/qib_wc_ppc64.c
 delete mode 100644 drivers/infiniband/hw/qib/qib_wc_x86_64.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lib/st.c

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ