On Fri, Apr 29, 2022 at 05:35:45PM +0800, Wenpeng Liang wrote: > From: Yixing Liu <liuyixing1@xxxxxxxxxx> > > The bt number of cqc_timer of HIP09 increases compared with that of HIP08. > Therefore, cqc_timer_bt_num and num_cqc_timer do not match. As a result, > the driver may fail to allocate cqc_timer. So the driver needs to > uniquely uses cqc_timer_bt_num to represent the bt number of cqc_timer. > > Fixes: 0e40dc2f70cd ("RDMA/hns: Add timer allocation support for hip08") > Signed-off-by: Yixing Liu <liuyixing1@xxxxxxxxxx> > Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_device.h | 1 - > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 3 +-- > drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 +- > drivers/infiniband/hw/hns/hns_roce_main.c | 2 +- > 4 files changed, 3 insertions(+), 5 deletions(-) Applied to for-next, thanks Jason