From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751900AbdK1GmL (ORCPT ); Tue, 28 Nov 2017 01:42:11 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11441 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbdK1Gl3 (ORCPT ); Tue, 28 Nov 2017 01:41:29 -0500 From: "Wei Hu (Xavier)" To: , CC: , , , , , Subject: [PATCH V2 rdma-rc 0/3] RDMA/hns: Bug fixes in hns RoCE driver Date: Tue, 28 Nov 2017 15:10:25 +0800 Message-ID: <1511853028-35191-1-git-send-email-xavier.huwei@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.5A1D0513.00B5,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 7b0d27bd96fd02472aef89aa01d6ab4a Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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