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: 171051 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp2628572ily; Mon, 12 Aug 2019 03:12:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNHqoit0BK8U2MG+mtWzhzltiGNbkfDoInVTC+hpspbb4ZMUPRIwJE0HHt5NS1hL9M5mH9 X-Received: by 2002:a17:90a:bc0c:: with SMTP id w12mr21644180pjr.111.1565604747465; Mon, 12 Aug 2019 03:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565604747; cv=none; d=google.com; s=arc-20160816; b=XovYV2bPn2L/NeFBEiLANnRvSbuzuTpSX/iS+6ed18HJGIVJIxF5hH9IYEsnvw1Ey4 ulnMMUdOolQQ3Ih8tzsRbTL9wL/hBFgWESpwGFBNeuYZ/jPN5baoW34JctDms6P2opg3 yAKDJlnhEJ2mvWwI/Tj65d/TKHiSD4L1dLB7L07vtGlW5fwPV+0H2m/2aRlxdDjtPw+O QMI0NXagcnbcaL265qOd2zkDzyRBXHNT48zDKmLwrbIiEzDkuNSTEdBNxkSN8UPL9oH0 LBYwijHnmsfsaroIdF9CjG6i+smFZZzgDOX4Pw8cQIeedJKJVQrXXgY20uck10PSVz81 6nMA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3w5jJ2jzDwt5UlL57dC8R59i//BcndqJ/j/nu6lCNoo=; b=pxSoo5Av6vDi1BFX84O1y+xiseyYkmqUdRB3DH4Wzzk0bzyqBrWA8BQxcqYH55ogJp Hx3L4ye2tizQ5OBDs1aNMsikDuqYbEsduIdAWa6pqBH0xXstUwCp3PKVPYbO7ySYrGJK 1bdRsIl/7WyP4nMpueD4cnUHwE9/N6Kvpk/WwtKl0okbnIDAK736p7Zdv9OPeLrPPdz6 GBOGySyqzLexpMbPiaBqMhiV0OgO50xOIDJ0pzFJoEGOuG01518Auyd7j8tFwhbjaZsp SUOYrTHPvvJPxX2dqaFp7q4d0VB9MrqYFR0BtOkorqp7alwyXgUPKZLJUobPi2urVcmK iLYQ== 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 g11si63896421pfi.282.2019.08.12.03.12.27; Mon, 12 Aug 2019 03:12:27 -0700 (PDT) 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 S1727867AbfHLKM0 (ORCPT + 28 others); Mon, 12 Aug 2019 06:12:26 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1