Add a new "aer_panic" parameter to force kernel panic on unrecoverable PCIe Advanced Error Reporting (AER) errors. This is designed for systems where unresolved PCIe bus hangs require immediate reboot to maintain service availability.
The option can be enabled via "pci=aer_panic" on the kernel command line. It prepares for safer error handling in mission-critical environments by bypassing indefinite hangs and triggering controlled panic. Signed-off-by: Hans Zhang <18255117...@163.com> --- Documentation/admin-guide/kernel-parameters.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 8f75ec177399..a4a221bb1636 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4679,6 +4679,13 @@ noaer [PCIE] If the PCIEAER kernel config parameter is enabled, this kernel boot option can be used to disable the use of PCIE advanced error reporting. + aer_panic [PCIE] Force kernel panic on unrecoverable + PCIe Advanced Error Reporting (AER) errors when + device recovery fails. This is recommended for + systems where bus hangs from unresolved errors + require immediate reboot. Use with caution as + this bypasses normal error recovery procedures. + Requires CONFIG_PCIEAER. nodomains [PCI] Disable support for multiple PCI root domains (aka PCI segments, in ACPI-speak). nommconf [X86] Disable use of MMCONFIG for PCI -- 2.25.1