diff options
| author | Cheng Xu <chengyou@linux.alibaba.com> | 2026-08-28 11:03:44 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-02 12:23:27 -0400 |
| commit | 00baeade709fb66da647e8327e8398bb532e30f7 (patch) | |
| tree | c9574397cd8409a4542dc1bf8445fdb23ab3b3d5 /scripts | |
| parent | 3476c28c9addfa253f505e6bd87f1f5598b961d0 (diff) | |
| download | linux-00baeade709fb66da647e8327e8398bb532e30f7.tar.gz linux-00baeade709fb66da647e8327e8398bb532e30f7.zip | |
RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables
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.
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
