On Fri, Nov 23, 2018 at 03:46:07PM +0800, Yixian Liu wrote: > Current hns driver assigned the first two PBL page addresses from > previous registered mr to the hardware when reregister mr changing > the memory locations occured, it will lead to PBL addressing error > as the PBL has already been released. This patch fixes this wrong > assignment by using the page address from new allocated PBL. > > Fixes: a2c80b7b4119 ("RDMA/hns: Add rereg mr support for hip08") > Signed-off-by: Yixian Liu <liuyixian@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 128 ++++++++++++++--------------- > 1 file changed, 60 insertions(+), 68 deletions(-) Applied to for-rc, thanks Jason