From: Thorsten Leemhuis <firstname.lastname@example.org>
To: Leon Romanovsky <email@example.com>
Cc: Tony Lu <firstname.lastname@example.org>,
Jason Gunthorpe <email@example.com>,
Maor Gottlieb <firstname.lastname@example.org>, Alaa Hleihel <email@example.com>,
Chuck Lever <firstname.lastname@example.org>,
Greg KH <email@example.com>
Subject: Re: [PATCH rdma-rc] RDMA/mlx5: Fix dereg mr flow for kernel MRs
Date: Tue, 4 Jan 2022 11:29:15 +0100 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
On 03.01.22 19:26, Leon Romanovsky wrote:
> On Mon, Jan 03, 2022 at 02:15:59PM +0100, Thorsten Leemhuis wrote:
>> Hi, this is your Linux kernel regression tracker speaking.
>> On 03.01.22 10:51, Leon Romanovsky wrote:
>>> On Wed, Dec 22, 2021 at 10:51:58AM +0800, Tony Lu wrote:
>>>> On Tue, Dec 21, 2021 at 11:46:41AM +0200, Leon Romanovsky wrote:
>>>>> From: Maor Gottlieb <email@example.com>
>>>>> The cited commit moved umem into the union, hence
>>>>> umem could be accessed only for user MRs. Add udata check
>>>>> before access umem in the dereg flow.
>>>>> Fixes: f0ae4afe3d35 ("RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow")
>>>>> Tested-by: Chuck Lever <firstname.lastname@example.org>
>>>>> Signed-off-by: Maor Gottlieb <email@example.com>
>>>>> Signed-off-by: Leon Romanovsky <firstname.lastname@example.org>
>>>>> drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +-
>>>>> drivers/infiniband/hw/mlx5/mr.c | 4 ++--
>>>>> drivers/infiniband/hw/mlx5/odp.c | 4 ++--
>>>>> 3 files changed, 5 insertions(+), 5 deletions(-)
>>>>> diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h
>>>> This patch was tested and works for me in our environment for SMC. It
>>>> wouldn't panic when release link and call ib_dereg_mr.
>>>> Tested-by: Tony Lu <email@example.com>
>>> Thanks, unfortunately, this patch is incomplete.
>> Could you be a bit more verbose and give a status update? It's hard to
>> follow from the outside. But according to the "Fixes: f0ae4afe3d35"
>> above this was supposed to fix a regression introduced in v5.16-rc5 that
>> was also reported here:
> The problematic commit f0ae4afe3d35 ("RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow")
> should be reverted https://firstname.lastname@example.org
> and rewritten from the beginning.
Thx for the clarification. Is anyone tasked for sending the revert
upstream, to make sure the revert makes it into 5.16, which is due on
And someone likely should ensure the change backported to 5.15.y as
e3bc4d4b50cae7db08e50dbe43f771c906e97701 is reverted as well. CCing a
few lists and Greg to make sure everyone is in the loop.
prev parent reply other threads:[~2022-01-04 10:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 9:46 [PATCH rdma-rc] RDMA/mlx5: Fix dereg mr flow for kernel MRs Leon Romanovsky
2021-12-22 2:51 ` Tony Lu
2022-01-03 9:51 ` Leon Romanovsky
2022-01-03 13:15 ` Thorsten Leemhuis
2022-01-03 18:26 ` Leon Romanovsky
2022-01-04 0:08 ` Jason Gunthorpe
2022-01-04 10:29 ` Thorsten Leemhuis [this message]
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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.