Commit adc1f22f authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Bjorn Helgaas

PCI/AER: Squash Kconfig.debug into Kconfig

Squash Kconfig.debug into Kconfig.  No functional change intended.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
parent 23e672bc
...@@ -13,6 +13,20 @@ config PCIEAER ...@@ -13,6 +13,20 @@ config PCIEAER
(AER) driver support. Error reporting messages sent to Root (AER) driver support. Error reporting messages sent to Root
Port will be handled by PCI Express AER driver. 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 # PCI Express ECRC
...@@ -25,5 +39,3 @@ config PCIE_ECRC ...@@ -25,5 +39,3 @@ config PCIE_ECRC
(transaction layer end-to-end CRC checking). (transaction layer end-to-end CRC checking).
When in doubt, say N. When in doubt, say N.
source "drivers/pci/pcie/aer/Kconfig.debug"
# SPDX-License-Identifier: GPL-2.0
#
# 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.
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/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment