This patch series fix three bugs as well as optimize some codes. Change from V1: 1. Seperate it from the patchset("hns misc updates for 4.20") 2. Add a patch which use cmdq method instead of operating registers of mailbox. Because the hip08 need to limit directly operating register. Lijun Ou (4): RDMA/hns: Init qp context when modify qp from reset to init RDMA/hns: Use the macro instead of qp state transition support RDMA/hns: Fix the bug while use multi-hop of pbl RDMA/hns: Update posting & querying mailbox drivers/infiniband/hw/hns/hns_roce_common.h | 3 - drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 86 +++++++++++++++-------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 47 ++++++++++++---- drivers/infiniband/hw/hns/hns_roce_mr.c | 4 +- 4 files changed, 82 insertions(+), 58 deletions(-) -- 1.9.1