Loading
RDMA/hns: Fix cpu stuck caused by printings during reset
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB530Z CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=323275ac2ff15b2b7b3eac391ae5d8c5a3c3a999 ---------------------------------------------------------------------- During reset, cmd to destroy resources such as qp, cq, and mr may fail, and error logs will be printed. When a large number of resources are destroyed, there will be lots of printings, and it may lead to a cpu stuck. Delete some unnecessary printings and replace other printing functions in these paths with the ratelimited version. Fixes: 9a443537 ("IB/hns: Add driver files for hns RoCE driver") Fixes: c7bcb134 ("RDMA/hns: Add SRQ support for hip08 kernel mode") Fixes: 70f92521 ("RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT") Fixes: 926a01dc ("RDMA/hns: Add QP operations support for hip08 SoC") Signed-off-by:wenglianfa <wenglianfa@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20241024124000.2931869-6-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
Zhaojiahui <zhaojiahui12@h-partners.com>