Re: [PATCH V2 rdma-rc 0/3] RDMA/hns: Bug fixes in hns RoCE driver
From: Jason Gunthorpe
Date: Fri Dec 01 2017 - 19:04:16 EST
On Tue, Nov 28, 2017 at 03:10:25PM +0800, Wei Hu (Xavier) wrote:
> This patch-set introduces three patches to fix the memory related
> issues. one fixes DMA operation failure when smmu is enabled.
> the other two patches fixes incorrect usage of dma API that may
> cause coherency problems.
>
> Wei Hu (Xavier) (3):
> RDMA/hns: Fix the issue of IOVA not page continuous in hip08
> RDMA/hns: Get rid of virt_to_page and vmap calls after
> dma_alloc_coherent
> RDMA/hns: Get rid of page operation after dma_alloc_coherent
>
> drivers/infiniband/hw/hns/hns_roce_alloc.c | 23 -----------------------
> drivers/infiniband/hw/hns/hns_roce_device.h | 4 +---
> drivers/infiniband/hw/hns/hns_roce_hem.c | 25 +++++++++++++------------
> drivers/infiniband/hw/hns/hns_roce_hem.h | 1 +
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 22 +++++++++++++++-------
> 5 files changed, 30 insertions(+), 45 deletions(-)
Applied to for-rc, Thanks
Jason