From: Leon Romanovsky <leon@kernel.org>
To: Abhijit Gangurde <abhijit.gangurde@amd.com>,
Allen Hubbe <allen.hubbe@amd.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
Bernard Metzler <bernard.metzler@linux.dev>,
Bryan Tan <bryan-bt.tan@broadcom.com>,
Cheng Xu <chengyou@linux.alibaba.com>,
Gal Pressman <gal.pressman@linux.dev>,
Junxian Huang <huangjunxian6@hisilicon.com>,
Kai Shen <kaishen@linux.alibaba.com>,
Konstantin Taranov <kotaranov@microsoft.com>,
Krzysztof Czurylo <krzysztof.czurylo@intel.com>,
linux-hyperv@vger.kernel.org, linux-rdma@vger.kernel.org,
Michal Kalderon <mkalderon@marvell.com>,
Michael Margolin <mrgolin@amazon.com>,
Nelson Escobar <neescoba@cisco.com>,
Satish Kharat <satishkh@cisco.com>,
Selvin Xavier <selvin.xavier@broadcom.com>,
Yossi Leybovich <sleybo@amazon.com>,
Chengchang Tang <tangchengchang@huawei.com>,
Tatyana Nikolova <tatyana.e.nikolova@intel.com>,
Vishnu Dasa <vishnu.dasa@broadcom.com>,
Yishai Hadas <yishaih@nvidia.com>,
Zhu Yanjun <zyjzyj2000@gmail.com>,
Jason Gunthorpe <jgg@ziepe.ca>
Cc: Long Li <longli@microsoft.com>, patches@lists.linux.dev
Subject: Re: [PATCH v2 00/16] Update drivers to use ib_copy_validate_udata_in()
Date: Tue, 31 Mar 2026 04:35:21 -0400 [thread overview]
Message-ID: <177494612145.4056125.9188398247456851629.b4-ty@kernel.org> (raw)
In-Reply-To: <0-v2-f4ac6f418bd6+12c5-rdma_udata_req_jgg@nvidia.com>
On Wed, 25 Mar 2026 18:26:46 -0300, Jason Gunthorpe wrote:
> Progress the uAPI work by shifting nearly all drivers to use
> ib_copy_validate_udata_in() and its variations.
>
> These helpers are easier to use and enforce a tighter uAPI protocol
> for the udata.
>
> v2:
> - Drop EFA patch, rename the field instead
> - Fix the mlx5 mw change, userspace doesn't use the udata struct at all
> v1: https://patch.msgid.link/r/0-v1-2b86f54cda42+7d-rdma_udata_req_jgg@nvidia.com
>
> [...]
Applied, thanks!
[01/16] RDMA: Consolidate patterns with offsetofend() to ib_copy_validate_udata_in()
(no commit info)
[02/16] RDMA: Consolidate patterns with offsetof() to ib_copy_validate_udata_in()
(no commit info)
[03/16] RDMA: Consolidate patterns with sizeof() to ib_copy_validate_udata_in()
(no commit info)
[04/16] RDMA: Use ib_copy_validate_udata_in() for implicit full structs
(no commit info)
[05/16] RDMA/pvrdma: Use ib_copy_validate_udata_in() for srq
(no commit info)
[06/16] RDMA/mlx5: Use ib_copy_validate_udata_in() for SRQ
(no commit info)
[07/16] RDMA/mlx5: Use ib_copy_validate_udata_in() for MW
(no commit info)
[08/16] RDMA/mlx4: Use ib_copy_validate_udata_in()
(no commit info)
[09/16] RDMA/mlx4: Use ib_copy_validate_udata_in() for QP
(no commit info)
[10/16] RDMA/hns: Use ib_copy_validate_udata_in()
(no commit info)
[11/16] RDMA: Use ib_copy_validate_udata_in_cm() for zero comp_mask
(no commit info)
[12/16] RDMA/mlx5: Pull comp_mask validation into ib_copy_validate_udata_in_cm()
(no commit info)
[13/16] RDMA/hns: Add missing comp_mask check in create_qp
(no commit info)
[14/16] RDMA/irdma: Add missing comp_mask check in alloc_ucontext
(no commit info)
[15/16] RDMA: Remove redundant = {} for udata req structs
(no commit info)
[16/16] RDMA/hns: Remove the duplicate calls to ib_copy_validate_udata_in()
(no commit info)
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-03-31 8:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 21:26 [PATCH v2 00/16] Update drivers to use ib_copy_validate_udata_in() Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 01/16] RDMA: Consolidate patterns with offsetofend() to ib_copy_validate_udata_in() Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 02/16] RDMA: Consolidate patterns with offsetof() " Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 03/16] RDMA: Consolidate patterns with sizeof() " Jason Gunthorpe
2026-03-29 11:59 ` Bernard Metzler
2026-03-25 21:26 ` [PATCH v2 04/16] RDMA: Use ib_copy_validate_udata_in() for implicit full structs Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 05/16] RDMA/pvrdma: Use ib_copy_validate_udata_in() for srq Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 06/16] RDMA/mlx5: Use ib_copy_validate_udata_in() for SRQ Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 07/16] RDMA/mlx5: Use ib_copy_validate_udata_in() for MW Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 08/16] RDMA/mlx4: Use ib_copy_validate_udata_in() Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 09/16] RDMA/mlx4: Use ib_copy_validate_udata_in() for QP Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 10/16] RDMA/hns: Use ib_copy_validate_udata_in() Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 11/16] RDMA: Use ib_copy_validate_udata_in_cm() for zero comp_mask Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 12/16] RDMA/mlx5: Pull comp_mask validation into ib_copy_validate_udata_in_cm() Jason Gunthorpe
2026-03-25 21:26 ` [PATCH v2 13/16] RDMA/hns: Add missing comp_mask check in create_qp Jason Gunthorpe
2026-03-25 21:27 ` [PATCH v2 14/16] RDMA/irdma: Add missing comp_mask check in alloc_ucontext Jason Gunthorpe
2026-03-25 22:16 ` Jacob Moroni
2026-03-25 21:27 ` [PATCH v2 15/16] RDMA: Remove redundant = {} for udata req structs Jason Gunthorpe
2026-03-25 21:27 ` [PATCH v2 16/16] RDMA/hns: Remove the duplicate calls to ib_copy_validate_udata_in() Jason Gunthorpe
2026-03-31 8:35 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177494612145.4056125.9188398247456851629.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=abhijit.gangurde@amd.com \
--cc=allen.hubbe@amd.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bernard.metzler@linux.dev \
--cc=bryan-bt.tan@broadcom.com \
--cc=chengyou@linux.alibaba.com \
--cc=gal.pressman@linux.dev \
--cc=huangjunxian6@hisilicon.com \
--cc=jgg@ziepe.ca \
--cc=kaishen@linux.alibaba.com \
--cc=kotaranov@microsoft.com \
--cc=krzysztof.czurylo@intel.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=longli@microsoft.com \
--cc=mkalderon@marvell.com \
--cc=mrgolin@amazon.com \
--cc=neescoba@cisco.com \
--cc=patches@lists.linux.dev \
--cc=satishkh@cisco.com \
--cc=selvin.xavier@broadcom.com \
--cc=sleybo@amazon.com \
--cc=tangchengchang@huawei.com \
--cc=tatyana.e.nikolova@intel.com \
--cc=vishnu.dasa@broadcom.com \
--cc=yishaih@nvidia.com \
--cc=zyjzyj2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox