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