Add Memory Therm trip event handler
Added cpu1MemtripHandler() & cpu2MemtripHandler() handlers for
CPU1_MEM_THERM_EVENT and CPU2_MEM_THERM_EVENT Gpio pins respectively
Tested:
CPU1_MEM_THERM_EVENT:
1. Heated CPU1 DIMM with heat gun till memory thermal trip event occur.
2. CPU1 memory thermal trip event occurred and event logs logged in Redfish
3. Verified the event log generated on Redfish
Redfish URI:
GET: https://<BMC IP>/redfish/v1/Systems/system/LogServices/EventLog
/Entries
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/
Entries/506",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "1970-01-01T00:08:26+00:00",
"EntryType": "Event",
"Id": "506",
"Message": "Memory ThermTrip asserted: CPU 1.",
"MessageArgs": [
"CPU 1"
],
"MessageId": "OpenBMC.0.1.MemoryThermTrip",
"Name": "System Event Log Entry",
"Severity": "Critical"
}
CPU2_MEM_THERM_EVENT:
1. Heated CPU2 DIMM with heat gun till memory thermal trip event occur.
2. CPU2 memory thermal trip event occurred and event logs logged in Redfish
3. Verified the event log generated on Redfish
Redfish URI:
GET: https://<BMC IP>/redfish/v1/Systems/system/LogServices/EventLog
/Entries
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/
Entries/506_2",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "1970-01-01T00:08:26+00:00",
"EntryType": "Event",
"Id": "506_2",
"Message": "Memory ThermTrip asserted: CPU 2.",
"MessageArgs": [
"CPU 2"
],
"MessageId": "OpenBMC.0.1.MemoryThermTrip",
"Name": "System Event Log Entry",
"Severity": "Critical"
}
Change-Id: I2dc3dafd034c4452b9410823f1aa3fd01660f092
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Signed-off-by: Chalapathi <chalapathix.venkataramashetty@intel.com>
1 file changed