Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI: Add boot options to disable DPC and AER recovery
@ 2026-07-09 18:54 Yury Murashka
  2026-07-09 18:54 ` [PATCH v2 1/2] PCI: Add pci=noaer_recovery kernel boot option Yury Murashka
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yury Murashka @ 2026-07-09 18:54 UTC (permalink / raw)
  To: bhelgaas
  Cc: corbet, skhan, mahesh, oohall, linux-pci, linux-doc, linux-kernel,
	linuxppc-dev, Yury Murashka

On large modular systems with a complex PCIe tree, the default kernel
AER recovery and DPC behavior could cause unexpected side effects.
Sometimes it would be nice to have the option to keep the system in an
unmodified state and be able to handle PCIe errors from userspace.

This series adds two new PCI kernel boot options:

  pci=noaer_recovery  - Disable AER error recovery while still logging
                        AER errors
  pci=nodpc           - Disable PCI Downstream Port Containment entirely

---
v1 -> v2:
  - Patch 1: Move disable check from pcie_do_recovery() in err.c to
    pci_aer_handle_error()/aer_recover_work_func() in aer.c for
    proper AER-specific scoping. AER error status bits are now
    preserved (not cleared) so userspace can inspect the error state
  - Patch 2: Also skip DPC port service driver registration in
    pcie_dpc_init() when disabled
  - Rebase onto v7.2-rc2

v1: https://lore.kernel.org/linux-pci/20260602105558.1799563-1-yurypm@arista.com/

Yury Murashka (2):
  PCI: Add pci=noaer_recovery kernel boot option
  PCI: Add pci=nodpc kernel boot option

 .../admin-guide/kernel-parameters.txt         |  9 ++++++
 drivers/pci/pci.c                             |  4 +++
 drivers/pci/pci.h                             |  4 +++
 drivers/pci/pcie/aer.c                        | 30 ++++++++++++-------
 drivers/pci/pcie/dpc.c                        | 19 ++++++++++--
 5 files changed, 53 insertions(+), 13 deletions(-)


base-commit: 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53
-- 
2.51.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-09 22:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 18:54 [PATCH v2 0/2] PCI: Add boot options to disable DPC and AER recovery Yury Murashka
2026-07-09 18:54 ` [PATCH v2 1/2] PCI: Add pci=noaer_recovery kernel boot option Yury Murashka
2026-07-09 19:06   ` sashiko-bot
2026-07-09 18:54 ` [PATCH v2 2/2] PCI: Add pci=nodpc " Yury Murashka
2026-07-09 19:07   ` sashiko-bot
2026-07-09 22:42 ` [PATCH v2 0/2] PCI: Add boot options to disable DPC and AER recovery Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox