Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6339748ybl; Wed, 15 Jan 2020 03:03:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxSMwQfe/qRO+KVmwnIXcGReGvfd0obqclQnVYMetmUDmo86BmE2EZg6eqUYCerF0FbpOnf X-Received: by 2002:a05:6808:292:: with SMTP id z18mr19597558oic.131.1579086222772; Wed, 15 Jan 2020 03:03:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579086222; cv=none; d=google.com; s=arc-20160816; b=Lh4gdq0epp0ekcbx9/ZhcKCGnBDaJya9Aj8sG2gZ3JnpdlAFzMydoQKh3sPiiXEcBE ophAbgUyMCpxbJjjaNP5BfLj/wC3p76R9R5/H+TIUkHR2P28o2IQKu9faBc2Mb7pHEZ3 7KVgpoHrOk5n33dn103hg2L/VUCTRsHc17NqlnpJVbSpY7ZcwWsnSTuG+F/NkvY8+0PI xH9zv3n/w8go8Crj7h6vKJJ/idlP45iL+9dX9rHSgzM+yiY9yhwtvGkFWXOog+BqvI66 WVhD8l+kztFlh2LHtjXEE0nl7dHvueNFQCwZdF29WvPUdybkCed9nl/YxzLm22qewokz NFFQ== 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=Lk8Uk/YJAL+FBJOzuRc5WSI/TDjFlmsh96hrjJ0HDb0=; b=tGqpwdGxbWYuxvH3FykIzCF9Yr1O6xMY/rjKmBNoJHorakaALW/2lMDmFZ6eX+eexc nX9h7MGIUxOCg93bP/r/sI37iQDWc8of5/YSpcH+0A1irkZoNQdOp9TQu5AGCgFXALR1 ftL1hJV6WciKP0Igz2A+wIF68zuO2r5JHsMec53/ko6yt/ZHjFh/Z0lF9EIiOXLBmcpw Ozsp5BsBjcOyur+LRa+TqqXMsfvlZk+bwRKvDwIPtRdMs3TitKNnSw7uMwdYxviq+vcs 3bPUhwF1gfrhtZ51egHnLPZRr2y1OaGBa+okXlgmXOHkbMWZsPg5/lqznugJtmOBdw6I 4A/Q== 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 p184si9242490oib.144.2020.01.15.03.03.29; Wed, 15 Jan 2020 03:03:42 -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 S1729794AbgAOLCM (ORCPT + 99 others); Wed, 15 Jan 2020 06:02:12 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8726 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726165AbgAOLCL (ORCPT ); Wed, 15 Jan 2020 06:02:11 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D4EDF2861C121A2EABE1; Wed, 15 Jan 2020 19:02:08 +0800 (CST) Received: from DESKTOP-6T4S3DQ.china.huawei.com (10.202.226.55) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Wed, 15 Jan 2020 19:02:00 +0800 From: Shiju Jose To: , , , , , , , , , , CC: , , , , Shiju Jose Subject: [RFC PATCH 0/2] ACPI: APEI: Add support to notify the vendor specific HW errors Date: Wed, 15 Jan 2020 11:01:38 +0000 Message-ID: <20200115110141.12300-1-shiju.jose@huawei.com> X-Mailer: git-send-email 2.19.2.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.202.226.55] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Presently the vendor drivers are unable to do the recovery for the vendor specific HW errors, reported to the APEI driver in the vendor defined sections, because APEI driver does not support reporting the same to the vendor drivers. This patch set 1. add an interface to the APEI driver to enable the vendor drivers to register the event handling functions for the corresponding vendor specific HW errors. 2. add driver to handle HiSilicon hip08 PCIe controller's errors which is an application of the above interface. Changes from the previous version 1. Fix comments from James Morse. 2. add driver to handle HiSilicon hip08 PCIe controller's errors, which is an example of the above interface. Shiju Jose (1): ACPI: APEI: Add support to notify the vendor specific HW errors Yicong Yang (1): PCI:hip08:Add driver to handle HiSilicon hip08 PCIe controller's errors drivers/acpi/apei/ghes.c | 110 ++++++++- drivers/pci/controller/Kconfig | 8 + drivers/pci/controller/Makefile | 1 + drivers/pci/controller/pcie-hisi-hip08-error.c | 323 +++++++++++++++++++++++++ include/acpi/ghes.h | 49 ++++ 5 files changed, 486 insertions(+), 5 deletions(-) create mode 100644 drivers/pci/controller/pcie-hisi-hip08-error.c -- 1.9.1