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