On Mon, Nov 23, 2020 at 10:24:00AM +0200, Leon Romanovsky wrote: > diff --git a/drivers/infiniband/hw/mlx5/mr.c b/drivers/infiniband/hw/mlx5/mr.c > index 090e204ef1e1..d24ac339c053 100644 > --- a/drivers/infiniband/hw/mlx5/mr.c > +++ b/drivers/infiniband/hw/mlx5/mr.c > @@ -42,7 +42,7 @@ > #include "mlx5_ib.h" > > /* > - * We can't use an array for xlt_emergency_page because dma_map_single doesn't > + * We can't use an array for xlt_emergency_page because ib_dma_map_single doesn't Please avoid the pointlessly overly long line. > + ib_dma_sync_single_for_cpu(&dev->ib_dev, sg.addr, sg.length, DMA_TO_DEVICE); And here and much more.