aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/Kconfig.debug
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-06-14 22:42:57 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-16 17:30:14 -0400
commitc465def6bfe834b62623caa9b98f2d4f4739875a (patch)
tree00166d8258f91c7f62b2bf84f4b8d775c906a308 /drivers/pci/pcie/aer/Kconfig.debug
parent3d5505c56db5c8d1eeca45c325b19e95115afdea (diff)
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 @@
1#
2# PCI Express Root Port Device AER Debug Configuration
3#
4
5config PCIEAER_INJECT
6 tristate "PCIE AER error injector support"
7 depends on PCIEAER
8 default n
9 help
10 This enables PCI Express Root Port Advanced Error Reporting
11 (AER) software error injector.
12
13 Debuging PCIE AER code is quite difficult because it is hard
14 to trigger various real hardware errors. Software based
15 error injection can fake almost all kinds of errors with the
16 help of a user space helper tool aer-inject, which can be
17 gotten from:
18 http://www.kernel.org/pub/linux/utils/pci/aer-inject/