From patchwork Thu Apr 25 15:07:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lijun Ou X-Patchwork-Id: 10917289 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 B435A933 for ; Thu, 25 Apr 2019 15:08:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4E3328720 for ; Thu, 25 Apr 2019 15:08:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9919A28C2A; Thu, 25 Apr 2019 15:08:05 +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 8AAC228720 for ; Thu, 25 Apr 2019 15:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727793AbfDYPID (ORCPT ); Thu, 25 Apr 2019 11:08:03 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7133 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727400AbfDYPID (ORCPT ); Thu, 25 Apr 2019 11:08:03 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id D8A4F36B9B5AD1D6607B; Thu, 25 Apr 2019 23:07:59 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Thu, 25 Apr 2019 23:07:50 +0800 From: Lijun Ou To: , CC: , , Subject: [PATCH for-rc 0/2] Two bugs fixes for hip08 Date: Thu, 25 Apr 2019 23:07:32 +0800 Message-ID: <1556204854-90092-1-git-send-email-oulijun@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.71.200.31] 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 Here fixes two bugs for hip08. The first bug is not release the reserved qp. The second bug is from nvme-rdma test. Lijun Ou (2): RDMA/hns: Bugfix for releasing reserved qp RDMA/hns: Bugfix for flush cqe in case softirq and multi-process drivers/infiniband/hw/hns/hns_roce_device.h | 14 +++ drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 1 + drivers/infiniband/hw/hns/hns_roce_hw_v1.h | 1 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 144 ++++++++++++---------------- drivers/infiniband/hw/hns/hns_roce_main.c | 12 +++ drivers/infiniband/hw/hns/hns_roce_qp.c | 46 ++++++++- 6 files changed, 133 insertions(+), 85 deletions(-)