From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752034AbdLBAEN (ORCPT ); Fri, 1 Dec 2017 19:04:13 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:35766 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751841AbdLBAEL (ORCPT ); Fri, 1 Dec 2017 19:04:11 -0500 X-Google-Smtp-Source: AGs4zMbdqG3riMrLh1VEQBspfbtDgiqVFwKk1azs04aq7jpImbMYF5ezIVfJikyPrnlqgmAbfX22tw== Date: Fri, 1 Dec 2017 17:04:09 -0700 From: Jason Gunthorpe To: "Wei Hu (Xavier)" Cc: dledford@redhat.com, linux-rdma@vger.kernel.org, linuxarm@huawei.com, linux-kernel@vger.kernel.org, shaobo.xu@intel.com, xavier.huwei@tom.com, zhangxiping3@huawei.com Subject: Re: [PATCH V2 rdma-rc 0/3] RDMA/hns: Bug fixes in hns RoCE driver Message-ID: <20171202000409.GP7754@ziepe.ca> References: <1511853028-35191-1-git-send-email-xavier.huwei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1511853028-35191-1-git-send-email-xavier.huwei@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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