RE: [PATCH v2 00/26] IB: Optimize DMA mapping

From: Estrin, Alex
Date: Fri Jan 13 2017 - 16:11:22 EST



>
> Hello Alex,
>
> Sorry for this. Can you check whether the patch below fixes this regression?
>
> diff --git a/drivers/infiniband/sw/rdmavt/vt.c
> b/drivers/infiniband/sw/rdmavt/vt.c
> index 6a81b179f631..f7fcd015ec09 100644
> --- a/drivers/infiniband/sw/rdmavt/vt.c
> +++ b/drivers/infiniband/sw/rdmavt/vt.c
> @@ -778,8 +778,7 @@ int rvt_register_device(struct rvt_dev_info *rdi)
>   }
>
>   /* DMA Operations */
> - if (rdi->ibdev.dma_device->dma_ops == NULL)
> - set_dma_ops(rdi->ibdev.dma_device, &dma_virt_ops);
> + set_dma_ops(rdi->ibdev.dma_device, &dma_virt_ops);
>
>   /* Protection Domain */
>   spin_lock_init(&rdi->n_pds_lock);
> --
> 2.11.0
>
> I will make sure that this series applies cleanly on top of v4.10-rc3 when I
> repost it.
>
> Bart.

Hi Bart,
It didn't fix the failure... Apparently there is an issue with generic mapping itself.
Thanks,
Alex.