PCI AER: software error injection
authorHuang Ying <ying.huang@intel.com>
Mon, 15 Jun 2009 02:42:57 +0000 (10:42 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:30:14 +0000 (14:30 -0700)
commitc465def6bfe834b62623caa9b98f2d4f4739875a
tree00166d8258f91c7f62b2bf84f4b8d775c906a308
parent3d5505c56db5c8d1eeca45c325b19e95115afdea
PCI AER: software error injection

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>
Documentation/PCI/pcieaer-howto.txt
drivers/pci/pcie/aer/Kconfig
drivers/pci/pcie/aer/Kconfig.debug [new file with mode: 0644]
drivers/pci/pcie/aer/Makefile
drivers/pci/pcie/aer/aer_inject.c [new file with mode: 0644]