[PATCH V2 rdma-rc 0/3] RDMA/hns: Bug fixes in hns RoCE driver
From: Wei Hu (Xavier)
Date: Tue Nov 28 2017 - 01:42:16 EST
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(-)
--
1.9.1