From: sashiko-bot@kernel.org
To: "Cheng Xu" <chengyou@linux.alibaba.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH 6.6.y] RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables
Date: Tue, 17 Nov 2026 03:01:47 +0000 [thread overview]
Message-ID: <sashiko-outbox-218110@kernel.org> (raw)
In-Reply-To: <20261117022839.23186-1-chengyou@linux.alibaba.com>
> [ Upstream commit 00baeade709fb66da647e8327e8398bb532e30f7 ]
>
> Locked QP and CQ lookups from EQ interrupts can deadlock with
> create-path XArray updates. If an interrupt arrives while the create
> path holds the plain xa_lock, the lookup spins forever trying to
> acquire the same lock.
>
> Use IRQ-safe XArray helpers for all QP and CQ create-path updates,
> including the GSI QP store and error paths. Initialize both arrays with
> XA_FLAGS_LOCK_IRQ so sleeping allocations preserve interrupt state.
>
> [ The GSI QP create path is not present in 6.6.y, so omit that hunk. ]
>
> Fixes: 98df2aee1459 ("RDMA/erdma: Hold CQ references when processing EQ events")
> Fixes: a52eeff32024 ("RDMA/erdma: Hold QP references for AE and CM processing")
> Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
> Link: https://patch.msgid.link/20260828030344.88021-1-chengyou@linux.alibaba.com
> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261117022839.23186-1-chengyou@linux.alibaba.com?part=1
prev parent reply other threads:[~2026-11-17 3:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 2:28 [PATCH 6.6.y] RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables Cheng Xu
2026-11-17 3:01 ` sashiko-bot [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=sashiko-outbox-218110@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=chengyou@linux.alibaba.com \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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