summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/Kconfig.debug
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-06-15 10:42:57 +0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-16 14:30:14 -0700
commitc465def6bfe834b62623caa9b98f2d4f4739875a (patch)
tree00166d8258f91c7f62b2bf84f4b8d775c906a308 /drivers/pci/pcie/aer/Kconfig.debug
parent3d5505c56db5c8d1eeca45c325b19e95115afdea (diff)
downloadtalos-obmc-linux-c465def6bfe834b62623caa9b98f2d4f4739875a.tar.gz
talos-obmc-linux-c465def6bfe834b62623caa9b98f2d4f4739875a.zip
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>
Diffstat (limited to 'drivers/pci/pcie/aer/Kconfig.debug')
-rw-r--r--drivers/pci/pcie/aer/Kconfig.debug18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/pci/pcie/aer/Kconfig.debug b/drivers/pci/pcie/aer/Kconfig.debug
new file mode 100644
index 000000000000..b8c925c1f6aa
--- /dev/null
+++ b/drivers/pci/pcie/aer/Kconfig.debug
@@ -0,0 +1,18 @@
+#
+# PCI Express Root Port Device AER Debug Configuration
+#
+
+config PCIEAER_INJECT
+ tristate "PCIE AER error injector support"
+ depends on PCIEAER
+ default n
+ help
+ This enables PCI Express Root Port Advanced Error Reporting
+ (AER) software error injector.
+
+ Debuging PCIE AER code is quite difficult because it is hard
+ to trigger various real hardware errors. Software based
+ error injection can fake almost all kinds of errors with the
+ help of a user space helper tool aer-inject, which can be
+ gotten from:
+ http://www.kernel.org/pub/linux/utils/pci/aer-inject/
OpenPOWER on IntegriCloud