Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp467107pxa; Thu, 27 Aug 2020 07:15:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0XZXV7liDiA2XGd06Dms5+aLDEAPtaCy3NudprW9xiJ1JNMg22APhB57wzJ0YX1Y0g/Nb X-Received: by 2002:a17:906:b6d5:: with SMTP id ec21mr20297596ejb.396.1598537720972; Thu, 27 Aug 2020 07:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598537720; cv=none; d=google.com; s=arc-20160816; b=LQs1TeTejpWcWeB+o+V5v39wsHculbN9ZaMqLSh3glKKYIHME6r8VT4Srewo/ENf8a 0AqgRwsrrgmQzUW7yKoSofwUQpVFcIPg3hiYdBjVVOXrc/VihqX+tEHaeEwUIH8adKY6 vfM+tuug+vY8cNgiOk4T7k5aXq6HYtKK7cn3LaagvHI+d5klJqxxkcosFdi0W6F56Fmr lZ7ph9IgCfhunHOe2KTurPJAmgL06irTseioDfp5n09SYuQEo+x5jNM2vUXBxMbOQ4MF tCs8Gt+U+k/Bvg2DyzDQT6DnYZiRZRN2ixN7KKLYPcsCSRRCjvSapwA31EkpcwX8w0d/ LqDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=c1gDiTYS5gf7O14F1YvsOPRPGKiNF5uz9L18RA8itCA=; b=kr9ywimDINhUKvZ30c1JVlfosbUytkI+IaDZJKMTY4AvfFp5XyIA3mTWi5qwp9dWRf 69QYDRjNE26fP92ouDAUEwckV3JSFoELyOcNmVAiSHFDgq6TWVdWsJVQMAVM18ZikTyF IzJ59qXiIbvk/k5CmW8dIfCRrIXI9I+7lBt79GCPlc89muKxY/dGK6J+2IMJ57reaO7g Ws68APqKP/9lTRaKH1bUnqFKR4ZlpoOo/jXa1Ts0SRvylCD4ut/8KnL/DCYDHuU7LK7K i+cBf3D/bNpRRvGnJdi18rwzJ0fANv1f3npz0sQJbn+6zkDqFM9eCTv5MreTQPgRjici OSTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn10si1371712ejb.351.2020.08.27.07.14.58; Thu, 27 Aug 2020 07:15:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728007AbgH0OOI (ORCPT + 99 others); Thu, 27 Aug 2020 10:14:08 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2699 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727793AbgH0OFj (ORCPT ); Thu, 27 Aug 2020 10:05:39 -0400 Received: from lhreml715-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 36C2CADED43E460CC271; Thu, 27 Aug 2020 15:05:01 +0100 (IST) Received: from DESKTOP-6T4S3DQ.china.huawei.com (10.47.87.119) by lhreml715-chm.china.huawei.com (10.201.108.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 27 Aug 2020 15:05:01 +0100 From: Shiju Jose To: , , , , , , CC: Subject: [PATCH V2 topic-edac-5.1 0/2] EDAC: Add support for reporting the non-standard errors to vendor drivers Date: Thu, 27 Aug 2020 15:01:26 +0100 Message-ID: <20200827140128.1113-1-shiju.jose@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.47.87.119] X-ClientProxiedBy: lhreml743-chm.china.huawei.com (10.201.108.193) To lhreml715-chm.china.huawei.com (10.201.108.66) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Presently non-standard HW errors are not reported to the vendor drivers for the recovery. This patch set adds support for reporting the non-standard errors to the registered vendor drivers. Also adds HIP08 EDAC driver, for the recovery of the PCIe OEM errors on HiSilicon HIP08. RFC -> V2 1.Add error recovery for the PCIe local errors 2.Removed code for the other OEM errors from HIP08 edac driver because there is no current requirement for the recovery. Shiju Jose (2): EDAC: Add support for reporting the non-standard errors to the vendor drivers EDAC: Add handling for the PCIe OEM errors on HiSilicon HIP08 drivers/acpi/apei/ghes.c | 5 + drivers/edac/Makefile | 3 +- drivers/edac/edac_non_standard.c | 124 ++++++++++++++ drivers/edac/hisi_hip08_edac_non_standard.c | 255 ++++++++++++++++++++++++++++ include/linux/edac_non_standard.h | 74 ++++++++ 5 files changed, 460 insertions(+), 1 deletion(-) create mode 100644 drivers/edac/edac_non_standard.c create mode 100644 drivers/edac/hisi_hip08_edac_non_standard.c create mode 100644 include/linux/edac_non_standard.h -- 1.9.1