Loading
RDMA/hns: Fix deadlock on SRQ async events.
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9HASN CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b46494b6f9c19f141114a57729e198698f40af37 ---------------------------------------------------------------------- xa_lock for SRQ table may be required in AEQ. Use xa_store_irq()/ xa_erase_irq() to avoid deadlock. Fixes: 81fce629 ("RDMA/hns: Add SRQ asynchronous event support") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20240412091616.370789-5-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>