From patchwork Mon Aug 12 10:11:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shiju Jose X-Patchwork-Id: 11089573 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 C45EE1399 for ; Mon, 12 Aug 2019 10:12:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B50F126E16 for ; Mon, 12 Aug 2019 10:12:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A932C27CF9; Mon, 12 Aug 2019 10:12:33 +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 3EC2D26E16 for ; Mon, 12 Aug 2019 10:12:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbfHLKMZ (ORCPT ); Mon, 12 Aug 2019 06:12:25 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:35112 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727605AbfHLKMZ (ORCPT ); Mon, 12 Aug 2019 06:12:25 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id ED999F36D83503C6D975; Mon, 12 Aug 2019 18:12:19 +0800 (CST) Received: from DESKTOP-6T4S3DQ.china.huawei.com (10.202.226.45) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Mon, 12 Aug 2019 18:12:11 +0800 From: Shiju Jose To: , , , , , , , , CC: , , , Shiju Jose Subject: [PATCH RFC 0/4] ACPI: APEI: Add support to notify the vendor specific HW errors Date: Mon, 12 Aug 2019 11:11:45 +0100 Message-ID: <20190812101149.26036-1-shiju.jose@huawei.com> X-Mailer: git-send-email 2.19.2.windows.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.202.226.45] X-CFilter-Loop: Reflected Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Presently kernel does not support reporting the vendor specific HW errors, in the non-standard format, to the vendor drivers for the recovery. This patch set add this support and also move the existing handler functions for the standard errors to the new callback method. Also the CCIX RAS patches could be move to the proposed callback method. https://www.spinics.net/lists/linux-edac/msg10508.html https://patchwork.kernel.org/patch/10979491/ Shiju Jose (4): ACPI: APEI: Add support to notify the vendor specific HW errors ACPI: APEI: Add ghes_handle_memory_failure to the new notification method ACPI: APEI: Add ghes_handle_aer to the new notification method ACPI: APEI: Add log_arm_hw_error to the new notification method drivers/acpi/apei/ghes.c | 170 +++++++++++++++++++++++++++++++++++++++++------ drivers/ras/ras.c | 5 +- include/acpi/ghes.h | 47 +++++++++++++ include/linux/ras.h | 7 +- 4 files changed, 205 insertions(+), 24 deletions(-)