All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: Yishai Hadas <yishaih@nvidia.com>,
	Artemy Kovalyov <artemyko@nvidia.com>,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH rdma-next] RDMA/mlx5: Fix a race for an ODP MR which leads to CQE with error
Date: Tue, 21 Jan 2025 14:08:50 -0400	[thread overview]
Message-ID: <20250121180850.GA881799@nvidia.com> (raw)
In-Reply-To: <68a1e007c25b2b8fe5d625f238cc3b63e5341f77.1737290229.git.leon@kernel.org>

On Sun, Jan 19, 2025 at 02:38:25PM +0200, Leon Romanovsky wrote:
> 
> infiniband rocep8s0f0: dump_cqe:277:(pid 0): WC error: 6,
> Message: memory bind operation error
> cqe_dump: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00
>                     00 00 00
> cqe_dump: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00
>                     00 00 00
> cqe_dump: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00
>                     00 00 00
> cqe_dump: 00000030: 00 00 00 00 08 00 78 06 25 00 11 b9 00
>                     0e dd d2
> ------------[ cut here ]------------
> WARNING: CPU: 15 PID: 1506 at
> drivers/infiniband/hw/mlx5/umr.c:394
> mlx5r_umr_post_send_wait+0x15a/0x2b0 [mlx5_ib]
>           Modules linked in: ip6table_mangle ip6table_nat
> ip6table_filter ip6_tables iptable_mangle xt_conntrack xt_MASQUERADE
> nf_conntrack_netlink nfnetlink xt_addrtype iptable_nat nf_nat
> br_netfilter rpcsec_gss_krb5 auth_rpcgss oid_registry overlay rpcrdma
> rdma_ucm ib_iser libiscsi scsi_transport_iscsi rdma_cm iw_cm ib_umad
> ib_ipoib ib_cm mlx5_ib ib_uverbs ib_core fuse mlx5_core

Don't word wrap dmesg output in commit messages, ignore any checkpatch
warnings.

> Fixes: e6fb246ccafb ("RDMA/mlx5: Consolidate MR destruction to mlx5_ib_dereg_mr()")
> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
> Reviewed-by: Artemy Kovalyov <artemyko@nvidia.com>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
>  drivers/infiniband/hw/mlx5/mr.c  | 17 +++++++++++++++--
>  drivers/infiniband/hw/mlx5/odp.c |  2 ++
>  2 files changed, 17 insertions(+), 2 deletions(-)

Applied to for-next, thanks

Jason

      reply	other threads:[~2025-01-21 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-19 12:38 [PATCH rdma-next] RDMA/mlx5: Fix a race for an ODP MR which leads to CQE with error Leon Romanovsky
2025-01-21 18:08 ` Jason Gunthorpe [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=20250121180850.GA881799@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=artemyko@nvidia.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=yishaih@nvidia.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.