)]}'
{
  "commit": "d0a3245df4a53f172cee68646fe09e153727dcbf",
  "tree": "0d1a34480d551e2fc5acb014934e75f7de56c7fe",
  "parents": [
    "b7f452ba4c0072ce633a2a03a813ff8b7a09ab5a"
  ],
  "author": {
    "name": "Henry Wu",
    "email": "Henry_Wu@quantatw.com",
    "time": "Mon Jan 26 15:47:59 2026 +0800"
  },
  "committer": {
    "name": "Patrick Williams",
    "email": "patrick@stwcx.xyz",
    "time": "Tue Mar 31 14:31:42 2026 +0000"
  },
  "message": "oem-meta: santabarbara: add handler for event logs from rainbow MMC\n\nAdd support for decoding the event logs emitted by the Rainbow MMC. To\ndistinguish between MITA and Rainbow event formats, the function\nlookupFaultByIndex is updated so that it can retrieve the corresponding\nevent type and provide the correct interpretation.\n\nThis commit is base on\n82142: oem-meta: Add file IO responder for event logs from BIC\nhttps://gerrit.openbmc.org/c/openbmc/pldm/+/82142\n\nTested by triggering MITA fault logs to verify correct event type\nhandling.\n```\n    \"7\": {\n        \"additional_data\": {\n            \"FAILURE_DATA\": \"MTIA_PVDD1P5_S - [02 03]\",\n            \"VOLTAGE_REGULATOR\": \"/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/pvdd1p5_s\",\n            \"_CODE_FILE\": \"../../../../../../workspace/sources/pldm/oem/meta/libpldmresponder/file_io_type_event_log.cpp\",\n            \"_CODE_FUNC\": \"void pldm::responder::oem_meta::recordEventLog(const FaultDesc\u0026, EventAssert, const FaultData\u0026)\",\n            \"_CODE_LINE\": \"451\",\n            \"_PID\": \"1267\"\n        },\n        \"event_id\": \"\",\n        \"message\": \"xyz.openbmc_project.State.Power.VoltageRegulatorFault\",\n        \"redfish\": {\n            \"args\": [\n                \"/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/pvdd1p5_s\"\n            ],\n            \"id\": \"OpenBMC_StatePower.VoltageRegulatorFault\",\n            \"message\": \"A fault has been detected on voltage regulator \u0027/xyz/openbmc_project/inventory/system/board/Minerva_Aegis/pvdd1p5_s\u0027\"\n        },\n        \"resolution\": \"\",\n        \"resolved\": false,\n        \"severity\": \"xyz.openbmc_project.Logging.Entry.Level.Error\",\n        \"timestamp\": \"2026-01-26T05:38:09.990000000Z\",\n        \"updated_timestamp\": \"2026-01-26T05:38:09.990000000Z\"\n    }\n}\n```\n\nTested by triggering Rainbow fault logs to verify correct event\ntype handling.\n```\n\"86\": {\n  \"additional_data\": {\n    \"FAILURE_DATA\": \"RAINBOW_OWL_E_TRVDD0P75 - [7C 00]\",\n    \"VOLTAGE_REGULATOR\": \"/xyz/openbmc_project/inventory/system/board/Santabarbara_Rainbow_0/owl_e_trvdd0p75\",\n    \"_CODE_FILE\": \"../../../../../../workspace/sources/pldm/oem/meta/libpldmresponder/file_io_type_event_log.cpp\",\n    \"_CODE_FUNC\": \"void pldm::responder::oem_meta::recordEventLog(const FaultDesc\u0026, EventAssert, const FaultData\u0026)\",\n    \"_CODE_LINE\": \"439\",\n    \"_PID\": \"1038\"\n  },\n  \"event_id\": \"\",\n  \"message\": \"xyz.openbmc_project.State.Power.VoltageRegulatorFault\",\n  \"redfish\": {\n    \"args\": [\n      \"/xyz/openbmc_project/inventory/system/board/Santabarbara_Rainbow_0/owl_e_trvdd0p75\"\n    ],\n    \"id\": \"OpenBMC_StatePower.VoltageRegulatorFault\",\n    \"message\": \"A fault has been detected on voltage regulator \u0027/xyz/openbmc_project/inventory/system/board/Santabarbara_Rainbow_0/owl_e_trvdd0p75\u0027\"\n  },\n  \"resolution\": \"\",\n  \"resolved\": false,\n  \"severity\": \"xyz.openbmc_project.Logging.Entry.Level.Error\",\n  \"timestamp\": \"2025-11-26T01:34:28.595000000Z\",\n  \"updated_timestamp\": \"2025-11-26T01:34:28.595000000Z\"\n}\n```\n\nChange-Id: Ie5d6e6fe26baf1cb7c23d19127d0d84f66f37c27\nSigned-off-by: Henry Wu \u003cHenry_Wu@quantatw.com\u003e\nSigned-off-by: Patrick Williams \u003cpatrick@stwcx.xyz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d0ebe95751c42594fb9d5d20f7495e60c34cb180",
      "old_mode": 33188,
      "old_path": "oem/meta/libpldmresponder/file_io_type_event_log.cpp",
      "new_id": "9414eddbcfef901a455cf4d7485e5e7e3f3066eb",
      "new_mode": 33188,
      "new_path": "oem/meta/libpldmresponder/file_io_type_event_log.cpp"
    }
  ]
}
