From patchwork Thu Sep 6 08:49:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixian Liu X-Patchwork-Id: 10590073 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D28A414BD for ; Thu, 6 Sep 2018 08:51:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B17BC2A555 for ; Thu, 6 Sep 2018 08:51:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5E7D2A575; Thu, 6 Sep 2018 08:51:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEFD22A536 for ; Thu, 6 Sep 2018 08:51:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727655AbeIFNZg (ORCPT ); Thu, 6 Sep 2018 09:25:36 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:36884 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726434AbeIFNZg (ORCPT ); Thu, 6 Sep 2018 09:25:36 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2E6B4F0008C27; Thu, 6 Sep 2018 16:51:10 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.399.0; Thu, 6 Sep 2018 16:51:07 +0800 From: Yixian Liu To: , CC: , Subject: [PATCH for-next 0/2] Add mw support for hip08 in kernel space Date: Thu, 6 Sep 2018 16:49:39 +0800 Message-ID: <1536223781-21169-1-git-send-email-liuyixian@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.67.212.132] X-CFilter-Loop: Reflected Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch set adds memory window (mw) support for hip08 in kernel space, including mw alloc and dealloc. Yixian Liu (2): RDMA/hns: Add alloc mw support for hip08 RDMA/hns: Add dealloc mw support for hip08 drivers/infiniband/hw/hns/hns_roce_device.h | 22 +++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 48 +++++++++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 10 +++ drivers/infiniband/hw/hns/hns_roce_main.c | 9 ++ drivers/infiniband/hw/hns/hns_roce_mr.c | 127 ++++++++++++++++++++++++++++ 5 files changed, 216 insertions(+)