Skip to content

Add noaer_recovery and nodpc pci kernel boot option#583

Open
yurypm wants to merge 2 commits into
sonic-net:masterfrom
yurypm:aer-dpc
Open

Add noaer_recovery and nodpc pci kernel boot option#583
yurypm wants to merge 2 commits into
sonic-net:masterfrom
yurypm:aer-dpc

Conversation

@yurypm
Copy link
Copy Markdown
Contributor

@yurypm yurypm commented May 29, 2026

PCI DPC (Downstream Port Containment) is enabled by default in the SONiC Linux kernel. DPC support can be advertised by PCIe devices, but it might not be fully supported in the firmware. In Arista EOS, DPC is disabled for all Arista devices and has never been tested. Enabling DPC could cause unexpected behavior and side effects.
It would be nice to have an option to disable DPC on some chassis.

AER error recovery is part of the AER error handling subsystem in the Linux kernel. AER is enabled by default in the SONiC Linux kernel. In Arista EOS, AER recovery is disabled for all Arista devices and has never been tested. Enabling AER recovery on large modular systems with a complex PCIe tree could cause unexpected behavior and side effects.
It would be nice to have an option to disable AER recovery on some chassis.

Add pci=noaer_recovery kernel boot option to disable AER error recovery when an uncorrectable error is reported.
Add pci=nodpc kernel boot option to disable PCI DPC.

yurypm added 2 commits May 29, 2026 11:09
AER error recovery is part of the AER error handling subsystem in
the Linux kernel. AER is enabled by default in the SONiC Linux
kernel. In Arista EOS, AER recovery is disabled for all Arista
devices and has never been tested. Enabling AER recovery on large
modular systems with a complex PCIe tree could cause unexpected
behavior and side effects. It would be nice to have an option to
disable AER recovery on some chassis.

Add pci=noaer_recovery kernel boot option to disable AER error
recovery when an uncorrectable error is reported.

Signed-off-by: Yury Murashka <yurypm@arista.com>
PCI DPC (Downstream Port Containment) is enabled by default in the
SONiC Linux kernel. DPC support can be advertised by PCIe devices,
but it might not be fully supported in the firmware. In Arista EOS,
DPC is disabled for all Arista devices and has never been tested.
Enabling DPC could cause unexpected behavior and side effects. It
would be nice to have an option to disable DPC on some chassis.

Add pci=nodpc kernel boot option to disable PCI DPC.

Signed-off-by: Yury Murashka <yurypm@arista.com>
@yurypm yurypm requested a review from a team as a code owner May 29, 2026 11:18
@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants