OFS / opae-sdk

Open Programmable Acceleration Engine
https://ofs.github.io
BSD 3-Clause "New" or "Revised" License
259 stars 82 forks source link

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

Closed lmu-silicom closed 10 months ago

lmu-silicom commented 10 months ago

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):

Tests added:

Tests run: