Skip to content

add support for MCA UMC error threshold config#56

Open
raja-gade wants to merge 1 commit intointeg_sp8from
umc_mca
Open

add support for MCA UMC error threshold config#56
raja-gade wants to merge 1 commit intointeg_sp8from
umc_mca

Conversation

@raja-gade
Copy link
Collaborator

This change extends the Redfish Crashdump configuration API to support setting the MCA UMC error threshold count.

This enables remote configuration of MCA UMC error threshold handling through Redfish, ensuring consistency with existing RAS threshold controls exposed for MCA and PCIe AER errors.

Tests:
Able to get and set MAC UMC error threshold config via redfish.

'''
curl -s -k -u root:0penBmc -H "Content-type: application/json" -X PATCH https://<bmc_ip>/redfish/v1/Systems/system/LogSActions/Oem/Crashdump.Configuration -d '{"McaUmcErrThresholdCnt": 2}' {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The request completed successfully.",
"MessageArgs": [],
"MessageId": "Base.1.19.Success",
"MessageSeverity": "OK",
"Resolution": "None."
}
]
}
'''

This change extends the Redfish Crashdump configuration API to support
setting the MCA UMC error threshold count.

This enables remote configuration of MCA UMC error threshold handling
through Redfish, ensuring consistency with existing RAS threshold
controls exposed for MCA and PCIe AER errors.

Tests:
Able to get and set MAC UMC error threshold config via redfish.

'''
curl -s -k -u root:0penBmc -H "Content-type: application/json" -X PATCH https://<bmc_ip>/redfish/v1/Systems/system/LogSActions/Oem/Crashdump.Configuration -d '{"McaUmcErrThresholdCnt": 2}'
{
  "@Message.ExtendedInfo": [
    {
      "@odata.type": "#Message.v1_1_1.Message",
      "Message": "The request completed successfully.",
      "MessageArgs": [],
      "MessageId": "Base.1.19.Success",
      "MessageSeverity": "OK",
      "Resolution": "None."
    }
  ]
}
'''
Signed-off-by: Raja Sekhar Reddy Gade <RajaSekharReddy.Gade@amd.com>
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.

2 participants