PCI Express Advanced Error Reporting Driver
PATCH 6/6 PCI Express Advanced Error Reporting Driver
This patch includes the source code of startup component (last patch to be applied) of PCI Express Advanced Error Reporting driver.
Signed-off-by T. Long Nguyen <[email protected]>
--------------------------------------------------------------------
arch/i386/Kconfig +0 -2
@@ -1131,8 +1131,6 @@ config PCI_MMCONFIG select ACPI_BOOT default y -source "drivers/pci/pcie/Kconfig" - source "drivers/pci/Kconfig" config ISA
drivers/pci/Kconfig +5 -0
@@ -1,4 +1,9 @@ # +# PCI Express configuration +# +source "drivers/pci/pcie/Kconfig" + +# # PCI configuration # config PCI_MSI
drivers/pci/pcie/aer/aerdrv.c +254 -0
254 lines not on this page · raw message
drivers/pci/pcie/aer/aerdrv.h +178 -0
178 lines not on this page · raw message
drivers/pci/pcie/aer/Kconfig +13 -0
@@ -0,0 +1,13 @@ +# +# Root Port Device Configuration +# + +config PCIEAER + bool "Root Port Advanced Error Reporting support" + depends on PCIEPORTBUS + default y + + ---help--- + This enables Root Port Advanced Error Reporting (AER) driver + support. Error reporting messages sent to Root Port will be + handled by PCI Express AER driver.
drivers/pci/pcie/aer/Makefile +8 -0
@@ -0,0 +1,8 @@ +# +# Makefile for PCI-Express Root Port Advanced Error Reporting Driver +# + +aerdriver-y := aerdrv_sysfs.o aerdrv_event.o aerdrv_core.o \ + aerdrv_rpc_handle.o aerdrv.o + +obj-$(CONFIG_PCIEAER) += aerdriver.o
drivers/pci/pcie/Kconfig +1 -0
@@ -36,3 +36,4 @@ config HOTPLUG_PCI_PCIE_POLL_EVENT_MODE When in doubt, say N. +source "drivers/pci/pcie/aer/Kconfig"
drivers/pci/pcie/Makefile +3 -0
@@ -5,3 +5,6 @@ pcieportdrv-y := portdrv_core.o portdrv_pci.o portdrv_bus.o obj-$(CONFIG_PCIEPORTBUS) += pcieportdrv.o + +# Build PCI Express AER if needed +obj-$(CONFIG_PCIEAER) += aer/
include/linux/aer.h +101 -0
101 lines not on this page · raw message