diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-06-08 09:48:39 -0400 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-06-11 09:11:32 -0400 |
commit | adc1f22f5a8664b07734a23a8d9bb82a38c0d043 (patch) | |
tree | d404a0f49b514c05f45285e974af1c0104cb938e /drivers/pci | |
parent | 23e672bc2abead19ff22d8a1d40f9d4c023524f8 (diff) |
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')
-rw-r--r-- | drivers/pci/pcie/aer/Kconfig | 16 | ||||
-rw-r--r-- | drivers/pci/pcie/aer/Kconfig.debug | 19 |
2 files changed, 14 insertions, 21 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 | |||
13 | (AER) driver support. Error reporting messages sent to Root | 13 | (AER) driver support. Error reporting messages sent to Root |
14 | Port will be handled by PCI Express AER driver. | 14 | Port will be handled by PCI Express AER driver. |
15 | 15 | ||
16 | config PCIEAER_INJECT | ||
17 | tristate "PCIe AER error injector support" | ||
18 | depends on PCIEAER | ||
19 | default n | ||
20 | help | ||
21 | This enables PCI Express Root Port Advanced Error Reporting | ||
22 | (AER) software error injector. | ||
23 | |||
24 | Debugging PCIe AER code is quite difficult because it is hard | ||
25 | to trigger various real hardware errors. Software based | ||
26 | error injection can fake almost all kinds of errors with the | ||
27 | help of a user space helper tool aer-inject, which can be | ||
28 | gotten from: | ||
29 | http://www.kernel.org/pub/linux/utils/pci/aer-inject/ | ||
16 | 30 | ||
17 | # | 31 | # |
18 | # PCI Express ECRC | 32 | # PCI Express ECRC |
@@ -25,5 +39,3 @@ config PCIE_ECRC | |||
25 | (transaction layer end-to-end CRC checking). | 39 | (transaction layer end-to-end CRC checking). |
26 | 40 | ||
27 | When in doubt, say N. | 41 | When in doubt, say N. |
28 | |||
29 | source "drivers/pci/pcie/aer/Kconfig.debug" | ||
diff --git a/drivers/pci/pcie/aer/Kconfig.debug b/drivers/pci/pcie/aer/Kconfig.debug deleted file mode 100644 index 67e02174b65b..000000000000 --- a/drivers/pci/pcie/aer/Kconfig.debug +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | ||
2 | # | ||
3 | # PCI Express Root Port Device AER Debug Configuration | ||
4 | # | ||
5 | |||
6 | config PCIEAER_INJECT | ||
7 | tristate "PCIe AER error injector support" | ||
8 | depends on PCIEAER | ||
9 | default n | ||
10 | help | ||
11 | This enables PCI Express Root Port Advanced Error Reporting | ||
12 | (AER) software error injector. | ||
13 | |||
14 | Debugging PCIe AER code is quite difficult because it is hard | ||
15 | to trigger various real hardware errors. Software based | ||
16 | error injection can fake almost all kinds of errors with the | ||
17 | help of a user space helper tool aer-inject, which can be | ||
18 | gotten from: | ||
19 | http://www.kernel.org/pub/linux/utils/pci/aer-inject/ | ||