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

Handle APML_ALERT assertion for SBRMI::[AlertSts] #103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abinayaddhandapani
Copy link
Collaborator

  1. If there is core poison consumption error occured, the APML_ALERT will be toggled low, and no one to clear it to de-assert APML_ALERT. This commit clears the RMI_ALERTSTATUS [0x10 ~ 0x1f] [0x50 ~ 0x5f] which will clear the SBRMI::[AlertSts] bit and de-assert APML_ALERT.

  2. Incremented the minor version by one to indicate there is a code change to ADDC for v14 release.

  3. Handled error case if the family is not Turin/Genoa.

1. If there is core poison consumption error occured,
   the APML_ALERT will be toggled low, and no one to
   clear it to de-assert APML_ALERT. This commit clears
   the RMI_ALERTSTATUS [0x10 ~ 0x1f] [0x50 ~ 0x5f]
   which will clear the SBRMI::[AlertSts] bit and
   de-assert APML_ALERT.

2. Incremented the minor version by one to indicate
   there is a code change to ADDC for v14 release.

3. Handled error case if the family is not Turin/Genoa.

Signed-off-by: Abinaya Dhandapani <[email protected]>
static_cast<uint32_t>(buffer));
}

Choose a reason for hiding this comment

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

No cations required in case of read_register failure?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In case of write failure , it will logged in the write_register() API.
So we dont require it to be logged here. Also we continue the ADDC functionality even if the write_register() call fails.


if (ret == OOB_SUCCESS)
{
if ((buffer & 0x0F) != 0)
Copy link
Collaborator

Choose a reason for hiding this comment

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

magic number: 0x0F

"Socket%d: MCE Stat of SBRMIx[0x%x] is set to 0x%x\n",
socNum, alert_status[i], buffer);

buffer = buffer & 0xFF;
Copy link
Collaborator

Choose a reason for hiding this comment

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

magic number 0xFF

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.

3 participants