From patchwork Fri Nov 23 07:46:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixian Liu X-Patchwork-Id: 10695177 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 9C993175A for ; Fri, 23 Nov 2018 07:46:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 910BE2BA94 for ; Fri, 23 Nov 2018 07:46:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8599C2BAB2; Fri, 23 Nov 2018 07:46:13 +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 ED05B2BA99 for ; Fri, 23 Nov 2018 07:46:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393440AbeKWS3N (ORCPT ); Fri, 23 Nov 2018 13:29:13 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:51928 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2393441AbeKWS3N (ORCPT ); Fri, 23 Nov 2018 13:29:13 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C325990D2EB8E; Fri, 23 Nov 2018 15:46:07 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.408.0; Fri, 23 Nov 2018 15:46:01 +0800 From: Yixian Liu To: , , CC: , Subject: [RESEND][PATCH v3 rdma-rc 0/2] RDMA/hns: Some updates for hip08 Date: Fri, 23 Nov 2018 15:46:06 +0800 Message-ID: <1542959168-30503-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 Patch 1 fixes the wrong assignment of PBL page address to hardware when rereg mr occured, it will lead to PBL addressing error for following operation. Patch 2 adds the support of error recovery for hardware in case of AEQ overflow. Pysical function level reset is carried out for this kind of error recover. --- Changes from v2: - Rewrite commit message for each patch. Changes from v1: - Withdraw fortify warning related patch [3/3] from v1. Xiaofei Tan (1): RDMA/hns: Add the process of AEQ overflow for hip08 Yixian Liu (1): RDMA/hns: Bugfix pbl configuration for rereg mr drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 139 +++++++++++++++-------------- 1 file changed, 71 insertions(+), 68 deletions(-)