mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 18:05:25 +07:00
c465def6bf
Debugging PCIE AER code can be very difficult because it is hard to trigger various real hardware errors. This patch provide a software based error injection tool, which can fake various PCIE errors with a user space helper tool named "aer-inject". Which can be gotten from: http://www.kernel.org/pub/linux/kernel/people/yhuang/ The patch fakes AER error by faking some PCIE AER related registers and an AER interrupt for specified the PCIE device. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
13 lines
294 B
Makefile
13 lines
294 B
Makefile
#
|
|
# Makefile for PCI-Express Root Port Advanced Error Reporting Driver
|
|
#
|
|
|
|
obj-$(CONFIG_PCIEAER) += aerdriver.o
|
|
|
|
obj-$(CONFIG_PCIE_ECRC) += ecrc.o
|
|
|
|
aerdriver-objs := aerdrv_errprint.o aerdrv_core.o aerdrv.o
|
|
aerdriver-$(CONFIG_ACPI) += aerdrv_acpi.o
|
|
|
|
obj-$(CONFIG_PCIEAER_INJECT) += aer_inject.o
|