mbox series

[v2,for-rc,0/8] RDMA/hns: Bugfixes

Message ID 20240710133705.896445-1-huangjunxian6@hisilicon.com (mailing list archive)
Headers show
Series RDMA/hns: Bugfixes | expand

Message

Junxian Huang July 10, 2024, 1:36 p.m. UTC
Here are some bugfixes for hns driver.

v1 -> v2:
* Drop patch #2 in v1 because Leon pointed out a problem about mailbox
  mode, and we plan to handle it in another patchset.
* Patch #1: put the atomic length check in set_rc_wqe(), stop processing
  WQEs and return immediately if there is an error.
* Patch #2: use BH workqueue instead of tasklet.

Chengchang Tang (5):
  RDMA/hns: Fix missing pagesize and alignment check in FRMR
  RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
  RDMA/hns: Fix undifined behavior caused by invalid max_sge
  RDMA/hns: Fix insufficient extend DB for VFs.
  RDMA/hns: Fix mbx timing out before CMD execution is completed

Junxian Huang (3):
  RDMA/hns: Check atomic wr length
  RDMA/hns: Fix soft lockup under heavy CEQE load
  RDMA/hns: Fix unmatch exception handling when init eq table fails

 drivers/infiniband/hw/hns/hns_roce_device.h |   7 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 164 +++++++++++++-------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |   6 +
 drivers/infiniband/hw/hns/hns_roce_mr.c     |   5 +
 drivers/infiniband/hw/hns/hns_roce_qp.c     |   4 +-
 drivers/infiniband/hw/hns/hns_roce_srq.c    |   2 +-
 6 files changed, 127 insertions(+), 61 deletions(-)

--
2.33.0

Comments

Leon Romanovsky July 11, 2024, 9:56 a.m. UTC | #1
On Wed, 10 Jul 2024 21:36:57 +0800, Junxian Huang wrote:
> Here are some bugfixes for hns driver.
> 
> v1 -> v2:
> * Drop patch #2 in v1 because Leon pointed out a problem about mailbox
>   mode, and we plan to handle it in another patchset.
> * Patch #1: put the atomic length check in set_rc_wqe(), stop processing
>   WQEs and return immediately if there is an error.
> * Patch #2: use BH workqueue instead of tasklet.
> 
> [...]

Applied, thanks!

[1/8] RDMA/hns: Check atomic wr length
      https://git.kernel.org/rdma/rdma/c/dd17883b0c242b
[2/8] RDMA/hns: Fix soft lockup under heavy CEQE load
      https://git.kernel.org/rdma/rdma/c/7aa9502ba0aaac
[3/8] RDMA/hns: Fix unmatch exception handling when init eq table fails
      https://git.kernel.org/rdma/rdma/c/e1226904317b4f
[4/8] RDMA/hns: Fix missing pagesize and alignment check in FRMR
      https://git.kernel.org/rdma/rdma/c/15d66ed71e8c51
[5/8] RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
      https://git.kernel.org/rdma/rdma/c/ab7031e560372c
[6/8] RDMA/hns: Fix undifined behavior caused by invalid max_sge
      https://git.kernel.org/rdma/rdma/c/a8690d81736a00
[7/8] RDMA/hns: Fix insufficient extend DB for VFs.
      https://git.kernel.org/rdma/rdma/c/79dd1e1620f980
[8/8] RDMA/hns: Fix mbx timing out before CMD execution is completed
      https://git.kernel.org/rdma/rdma/c/4c3c4cfe0a60b1

Best regards,