lkml.org 
[lkml]   [2017]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2 00/26] IB: Optimize DMA mapping
Date

>
> 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.

\
 
 \ /
  Last update: 2017-01-13 22:12    [W:0.541 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site