Huang Ying | c465def | 2009-06-15 10:42:57 +0800 | [diff] [blame] | 1 | # |
| 2 | # PCI Express Root Port Device AER Debug Configuration |
| 3 | # |
| 4 | |
| 5 | config PCIEAER_INJECT |
Stefan Assmann | 7e8af37 | 2009-12-03 18:00:10 +0100 | [diff] [blame] | 6 | tristate "PCIe AER error injector support" |
Huang Ying | c465def | 2009-06-15 10:42:57 +0800 | [diff] [blame] | 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 | |
Stefan Assmann | 7e8af37 | 2009-12-03 18:00:10 +0100 | [diff] [blame] | 13 | Debugging PCIe AER code is quite difficult because it is hard |
Huang Ying | c465def | 2009-06-15 10:42:57 +0800 | [diff] [blame] | 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/ |