Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1047220imu; Fri, 7 Dec 2018 13:14:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/WYFbhpjFYhR8rVLEZ/QHEUvN9t0104IhqxUtEiErdsC7X/BwmkaKIUsP6eU4AV+Symlq26 X-Received: by 2002:a17:902:1101:: with SMTP id d1mr3579995pla.136.1544217243209; Fri, 07 Dec 2018 13:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544217243; cv=none; d=google.com; s=arc-20160816; b=AA0YCzZP2Ix5L7NKGkm+7Wh4oBWAVDnsTfBYc2YxFHduRrEA/NTPlCfTjfwq8sBJgL 3baJPBA5bRMr/qE8bl3YuCo/kH1pSaJ9/X5NkK4J3zYm+3KLfiykiSaKk+1L38f8V6Qg RX4+4ZeUiKMODNaQy1GmkZAieagSqcZBWwa2gn3rTcd7hL5aJ+Cp6erbs+tmF4An4Yro e/F7tpqHDWQl2/Kyq5A/FvoEWygmPwguKW0LUd4VywNS245MR73RasBWGLZPrzxm1kmk VdrmkFE5VkThCZuSFiGoTv3qrLmA2I0N0KGNX82mPSo2rzuD6eSdcKD5xLFI4FS3Y27x ijkw== 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 i16si3626697pgk.445.2018.12.07.13.13.48; Fri, 07 Dec 2018 13:14:03 -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 S1726130AbeLGVJX (ORCPT + 99 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 Content-Type: text/plain 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