These series includes several cleanups and fixes for HEM and MTR. Weihang Li (1): RDMA/hns: Use refcount_t APIs for HEM Xi Wang (4): RDMA/hns: Optimize the base address table config for MTR RDMA/hns: Refactor root BT allocation for MTR RDMA/hns: Fix wrong timer context buffer page size RDMA/hns: Clean the hardware related code for HEM drivers/infiniband/hw/hns/hns_roce_alloc.c | 51 ++--- drivers/infiniband/hw/hns/hns_roce_cq.c | 4 +- drivers/infiniband/hw/hns/hns_roce_device.h | 17 +- drivers/infiniband/hw/hns/hns_roce_hem.c | 342 +++++++++++++--------------- drivers/infiniband/hw/hns/hns_roce_hem.h | 13 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 77 +++++++ drivers/infiniband/hw/hns/hns_roce_hw_v1.h | 5 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 32 ++- drivers/infiniband/hw/hns/hns_roce_mr.c | 14 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- drivers/infiniband/hw/hns/hns_roce_srq.c | 10 +- 11 files changed, 315 insertions(+), 252 deletions(-) -- 2.7.4