From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755407AbcITQI5 (ORCPT ); Tue, 20 Sep 2016 12:08:57 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:47881 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754743AbcITQIz (ORCPT ); Tue, 20 Sep 2016 12:08:55 -0400 From: Salil Mehta To: CC: , , , , , , , , Subject: [PATCH V2 for-next 00/19] IB/hns: Fixes for various misc. bugs Date: Tue, 20 Sep 2016 17:06:53 +0100 Message-ID: <20160920160712.1190216-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.47.136.51] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.57E15F14.0053,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 9941915c3f18e4073dcdeffdd0e61d38 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set introduces fixes for various bugs and potential problems found during internal review and testing phases of the HNS RoCE driver. NOTE: These fixes have been done over already floated CM patch: https://lkml.org/lkml/2016/9/1/609 All fixes have been done & tested by Oulijun and Huwei. V1->V2: * PATCH 3/20 and 13/20 have been dropped after rework of comments by Leon Romanovsky on V1 patch. * New patch "Fix for removal of redundant code" has been added to remove the redundant code. Lijun Ou (15): IB/hns: Remove unused parameters in some functions IB/hns: Remove parameters of resize cq IB/hns: Fix bug of using uninit refcount and free IB/hns: Simplify function of pd alloc and qp alloc IB/hns: Remove unused parameter named qp_type IB/hns: Modify the init of iboe lock IB/hns: Fix bug of memory leakage for registering user mr IB/hns: Return bad wr while post send failed IB/hns: The Ack timeout need a lower limit value IB/hns: Some items of qpc need to take user param IB/hns: Validate mtu when modified qp IB/hns: Cq has not been freed IB/hns: Update the rq head when modify qp state IB/hns: Fix the bug when platform_get_resource() exec fail IB/hns: Delete the redundant lines in hns_roce_v1_m_qp() Salil Mehta (1): IB/hns: Fix for removal of redundant code Wei Hu (Xavier) (3): IB/hns: Fix bug of clear hem IB/hns: Delete the sqp_start from the structure hns_roce_caps IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn drivers/infiniband/hw/hns/hns_roce_cq.c | 23 +-- drivers/infiniband/hw/hns/hns_roce_device.h | 13 +- drivers/infiniband/hw/hns/hns_roce_eq.c | 146 ++++++++++--------- drivers/infiniband/hw/hns/hns_roce_eq.h | 4 + drivers/infiniband/hw/hns/hns_roce_hem.c | 76 +--------- drivers/infiniband/hw/hns/hns_roce_hem.h | 4 + drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 211 +++++++++++++++++++++++----- drivers/infiniband/hw/hns/hns_roce_hw_v1.h | 9 ++ drivers/infiniband/hw/hns/hns_roce_main.c | 4 +- drivers/infiniband/hw/hns/hns_roce_mr.c | 3 + drivers/infiniband/hw/hns/hns_roce_pd.c | 18 +-- drivers/infiniband/hw/hns/hns_roce_qp.c | 57 +++----- 12 files changed, 312 insertions(+), 256 deletions(-) -- 1.9.1