diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-06-08 16:48:39 +0300 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-06-11 16:11:32 +0300 |
commit | adc1f22f5a8664b07734a23a8d9bb82a38c0d043 (patch) | |
tree | d404a0f49b514c05f45285e974af1c0104cb938e /drivers/pci/pcie/aer/Kconfig | |
parent | 23e672bc2abead19ff22d8a1d40f9d4c023524f8 (diff) | |
download | linux-adc1f22f5a8664b07734a23a8d9bb82a38c0d043.tar.xz |
PCI/AER: Squash Kconfig.debug into Kconfig
Squash Kconfig.debug into Kconfig. No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/pci/pcie/aer/Kconfig')
-rw-r--r-- | drivers/pci/pcie/aer/Kconfig | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig index 5a64eb3d6c7a..1996df082e89 100644 --- a/drivers/pci/pcie/aer/Kconfig +++ b/drivers/pci/pcie/aer/Kconfig @@ -13,6 +13,20 @@ config PCIEAER (AER) driver support. Error reporting messages sent to Root Port will be handled by PCI Express AER driver. +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. + + Debugging 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/ # # PCI Express ECRC @@ -25,5 +39,3 @@ config PCIE_ECRC (transaction layer end-to-end CRC checking). When in doubt, say N. - -source "drivers/pci/pcie/aer/Kconfig.debug" |