Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Only clear AER errors when AER is available #3073

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

lmu-silicom
Copy link
Contributor

When using the rsu --force option on systems without AER support the clearing of correctable/uncorrectable errors fails and setpci command returns exit code 1. Fix this by checking the root port for AER support before clearing errors.

------------- Keep everything below this line -------------------------

Description

Describe the issue, update, change or fix and why

Collateral (docs, reports, design examples, case IDs):

  • Document Update Required? (Specify FIM/AFU/Scripts)

Tests added:

Tests run:

@lmu-silicom lmu-silicom requested a review from a team as a code owner January 10, 2024 11:28
When using the rsu --force option on systems without AER support
the clearing of correctable/uncorrectable errors fails and setpci
command returns exit code 1. Fix this by checking for AER support
before clearing errors.

Signed-off-by: Lars Munch <lmu@silicom.dk>
Copy link
Contributor

@rchriste1 rchriste1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@anandaravuri anandaravuri merged commit 672e2ec into OFS:master Jan 11, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants