ACPI table updated for bluefield_edac module

Bug #1916318 reported by Shravan Kumar Ramani on 2021-02-20
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
Undecided
Unassigned

Bug Description

The ACPI table entry now specifies whether access to the EMI (memory interface which is part of the memory sub-system) registers needs to be via secure calls. This requires the driver to be updated in order to add SMC support.

SRU Justification:

[Impact]
Since secure calls have been enabled for bluefield_edac via ACPI, all EMI register reads will return 0, and writes will have no effect. So the edac driver will not provide any valid logs when an ECC error occurs.

[Fix]
Add support for SMC in bluefield_edac.

[Test case]
Verified by injecting an ECC error to trigger an EDAC event. The driver logs display information from EMI registers accessed via secure calls.

[Regression potential]
Regression potential can be considered low since the driver first reads from the ACPI table to decide whether to use the secure calls or not. If disabled, it uses the existing path to access the registers.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers