)]}'
{
  "commit": "0fcee79963d868166b46a6529d8931fd8bcfc370",
  "tree": "4d7df415da086b9cf0e913e44f7a7e473a634848",
  "parents": [
    "eb0b23c6c20b6cd4e9412419070b41746e03f826"
  ],
  "author": {
    "name": "Luka Strizic",
    "email": "lstrz@google.com",
    "time": "Tue Nov 24 23:04:13 2026 +0000"
  },
  "committer": {
    "name": "mdb:gbmc-git-owners",
    "email": "superproject-auto-update@invalid",
    "time": "Tue Nov 24 17:30:37 2026 -0800"
  },
  "message": "libpldm: Backport CLOCK_MONOTONIC overflow fixes\n\nOn 32-bit ARM BMCs (such as AST2600-based systems, where LONG_MAX is\n2^31 - 1), pldm_transport_send_recv_msg() permanently fails with\nPLDM_REQUESTER_POLL_FAIL once uptime crosses 24.855 days\n(2,147,478.8s).\n\ntimeval_is_valid() checks whether the absolute CLOCK_MONOTONIC deadline\n(now + 4.8s) can be converted to milliseconds in a signed long, even\nthough timeval_to_msec() is only called on the relative remaining\ninterval (\u003c\u003d 4.8s). Once uptime crosses 24.855 days, every pldmtool\ninvocation and pldm-script fails until the BMC reboots, breaking MSV\nfirmware activation checks and OOB firmware updates.\n\nBackport the two upstream libpldm v0.14.0 fixes to meta-phosphor\u0027s\nlibpldm (pinned to 64764fd6):\n\n- 0013-transport-Improve-time-validation-in-pldm_transport_.patch\n  (69b5a9cde88b): validate the relative `remaining` interval instead of\n  the absolute `end` timestamp (CHANGELOG.md and send_recv_one.cpp\n  omitted because 64764fd6 predates environ/time.h and tests are\n  disabled).\n- 0014-transport-Fix-msec-overflow-test.patch (9f6b9b3aca29): fix the\n  parenthesization in timeval_validate_for_msec().\n\nTested:\n- Full bitbake obmc-phosphor-image build for a 32-bit ARM AST2600 gBMC\n  platform succeeded (7766/7766 tasks, 0 libpldm/pldmd-google warnings).\n  Verified both patches applied cleanly with zero fuzz/offset and\n  libpldm0 is present in the deployed image manifest.\n- Low-uptime regression test on a physical AST2600 gBMC (~6h 46m uptime,\n  no LD_PRELOAD): staged the freshly built libpldm.so.0.7.0 under\n  /tmp/patched_lib, verified via LD_DEBUG\u003dlibs that stock pldmtool\n  loaded /tmp/patched_lib/libpldm.so.0 directly and across all\n  wrapper-script child invocations, and compared stock vs.\n  LD_LIBRARY_PATH\u003d/tmp/patched_lib across all 5 active MCTP endpoints:\n  - pldm_list_fw_version.sh: exit 0, 0 diff vs. stock.\n  - pldm_dump_fw_status.sh: exit 0, 0 diff vs. stock.\n  - Direct pldmtool (base GetPLDMTypes, fw_update GetStatus,\n    fw_update GetFwParams, fw_update QueryDeviceIdentifiers): exit 0,\n    0 diff vs. stock.\n- High-uptime repro on the same AST2600 gBMC using a per-process\n  LD_PRELOAD shim shifting CLOCK_MONOTONIC (verified via\n  LD_DEBUG\u003dbindings that both stock and patched libpldm bound\n  __clock_gettime64 to the shim; pldmd untouched and active throughout):\n  - ~2,147,460s (~19s below 24.855d cliff): stock and patched pldmtool\n    both pass (valid JSON).\n  - ~2,147,500s (~21s above cliff): stock fails with\n    \"pldm_send_recv error rc -12\" (PLDM_REQUESTER_POLL_FAIL); patched\n    passes.\n  - ~25.7d (+2,200,000s), ~100.3d (+8,640,000s), and ~365.3d\n    (+31,536,000s): stock fails with rc -12 (pldm_list_fw_version.sh\n    reports \"N/A (PLDM failed)\" on all 5 endpoints); patched\n    pldm_list_fw_version.sh, pldm_dump_fw_status.sh, and direct pldmtool\n    all pass with 0 diff vs. the real low-uptime baseline.\n\nFusion-Link: fusion2 n/a\nGoogle-Bug-Id: 590183011\nChange-Id: I4bb382720f5b905b87ee92c65b1da8f2364d509c\nSigned-off-by: Luka Strizic \u003clstrz@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b97fc2c816882bb322c6d85206348ae8a9e8ca2",
      "old_mode": 57344,
      "old_path": "meta-gbmc-staging",
      "new_id": "abd4453c91b65c0145884ecf97454f318ef94a39",
      "new_mode": 57344,
      "new_path": "meta-gbmc-staging"
    }
  ]
}
