From patchwork Fri Dec 7 21:07:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 153196 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp972596ljp; Fri, 7 Dec 2018 13:09:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/V8SYUVykXjdddrLoIypMc9KygjzpC3G/OgpXdMET6v5UxNRyRBOHQ4LFXJQFxH+B3PXIV1 X-Received: by 2002:a17:902:6185:: with SMTP id u5mr3581550plj.194.1544216965691; Fri, 07 Dec 2018 13:09:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544216965; cv=none; d=google.com; s=arc-20160816; b=lX/NUt1tfFOQt2DOvFTl3cROw1dQ7k6VlrGI0l8gwGTMZchRK+BxIgvs8+s5ZssfDb 15pg5CIZ5PFY9x8wr78rnEM8LA4ve39nrTzOZUaq6k9g1nroaiOT/TRLS6EHgk6/CBsw HcpDIxQyicFeHJbr6+ZO6NmE7/LukNdYQFmXHkXyXO+Buxag/BKkzGRZb+W3nLv6/7g/ /1LQ15vLIl6uYMJkACZ7zRMaHtdCu3W4uMpFZeA6jR47mrWD/mRX8SHKaWIwuTuQa6qP 8avhY9gX/jgo8uedotRTgyXWl9OLPNrFwItAeMcOo1vlx7GpRjG4xaFj6SlvN8JC4Dgq de9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=WBa1wP2ZxGCNckG4XfIe4yBNwPJlp2FwrftkNUB0lwA=; b=Vx+mkYlw6TVES0SADB+tyUKQCH9otEWX8d9VeqMP0Jx9Gw2+iLQjyS0/VVd7eJ2A1v ybQ7gnjj5MvIterCndcCAieq/6R11qDsHLAHf410qZ3TKCmAKYLny8EzO7Mn+oad99aR Bf2Sqs9/hCBUQz7lyGUX19FAEvL/SbU6jalKK55LSBSmB13UtOkTTsbqrY7LVVV9OUV/ yk+YAxF4PnSwbvXrzrsBCqtEuGXx/wpU9lxAzMiVM9bqeopT2Z6V+TVv6nXxxzEVs3wf ZDPyqknmWTR1mGDa48Nk7RdNPqLCC6Vuz/1Q8mFEksCQWjnyw/XiynVcFZhtEZ14GTKv VY9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s123si4012354pfb.274.2018.12.07.13.09.25; Fri, 07 Dec 2018 13:09:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbeLGVJX (ORCPT + 31 others); Fri, 7 Dec 2018 16:09:23 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:56754 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726041AbeLGVJW (ORCPT ); Fri, 7 Dec 2018 16:09:22 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id EDF9B3FEE71F4; Sat, 8 Dec 2018 05:09:19 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.202.226.54) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.408.0; Sat, 8 Dec 2018 05:09:11 +0800 From: Salil Mehta To: CC: , , , , , , Subject: [PATCH net-next 00/14] net: hns3: Additions/optimizations related to HNS3 H/W err handling Date: Fri, 7 Dec 2018 21:07:57 +0000 Message-ID: <20181207210811.23844-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [10.202.226.54] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set primarily does following addtions and optimizations related to error handling in HNS3 Ethernet driver: 1. Name changes for enable and process functions and minor loop optimizations. [PATCH 1-6] 2. Modify query and clearing of RAS errors using new set of commands because modules specific commands for clearing RCB PPP PF, SSU are obselete. [PATCH 7] 3. Deletes logging 1-bit errors for RAS in HNS3 driver as these never get reported to the driver. [PATCH 8] 4. Add handling of NIC hw errors reported through MSIx rather than PCIe AER channel. [PATCH 9] 5. Add handling for the HW RAS and MSIx errors in the modules MAC, PPP PF, MSIx SRAM, RCB and SSU. [PATCH 10-13] 6. Add handling of RoCEE RAS errors. [PATCH 14] Salil Mehta (1): net: hns3: add handling of hw errors reported through MSIX Shiju Jose (13): net: hns3: remove existing process error functions and reorder hw_blk table net: hns3: rename enable error interrupt functions net: hns3: re-enable error interrupts on hw reset net: hns3: deletes unnecessary settings of the descriptor data net: hns3: rename process_hw_error function net: hns3: add optimization in the hclge_hw_error_set_state net: hns3: add handling of hw ras errors using new set of commands net: hns3: deleted logging 1 bit errors net: hns3: add handling of hw errors of MAC net: hns3: handle hw errors of PPP PF net: hns3: handle hw errors of PPU(RCB) net: hns3: handle hw errors of SSU net: hns3: add handling of RDMA RAS errors drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 27 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 1554 ++++++++++++-------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 79 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 55 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 + 7 files changed, 1067 insertions(+), 656 deletions(-) -- 2.7.4