)]}'
{
  "commit": "7260049b41fcc714ed628b5608b352018caf5238",
  "tree": "c3441eda1b0bdcfe863493b34fddfe5bb8af42d7",
  "parents": [
    "5930ef8feb4bc0f019fe833a8db99643c2f1a54d"
  ],
  "author": {
    "name": "Luka Strizic",
    "email": "lstrz@google.com",
    "time": "Tue Oct 21 18:13:56 2025 +0000"
  },
  "committer": {
    "name": "Luka Strizic",
    "email": "lstrz@google.com",
    "time": "Tue Oct 28 21:25:48 2025 +0000"
  },
  "message": "nvmed: Adds support for MCTP devices exposed by mctpreactor\n\nAdds a new class, MctpReactorDevice that inherits from MctpDevice and\nis specific to the way mctpreactor sets things up.\n\nTo get an endpoint ID, MctpReactorDevice queries the \"configures\"\nassociation in the ObjectMapper, that associates the NVMe device object\nwith a NVME1000 interface and the MCTP endpoint object.\n\nAdditionally, NVMeMi was changed to skip MTU and SMBus frequency setup\nfor devices that aren\u0027t directly accessible over I2C, which is\nrecognized through the absence of the `bus` parameter in those\ndevices\u0027 JSON configuration files for EntityManager.\n\nTested: Test were done on a lab machine that has an E1.S SSD\n        connected to BMC through a USB \u003c-\u003e I2C MCTP bridge.\n        nvmesensor log:\n        https://paste.googleplex.com/5240477540548608\n        Another test on the same machine was ran with mctpreactor\n        down and then started again after a few minutes:\n        https://paste.googleplex.com/5326693527060480\n        Roughly midway down that log periodic retrying can be\n        observed. A retry happens every 60-90 seconds. Estimate is\n        based on me looking at the log in realtime rather than\n        measuring or looking at the code.\n        Additionally tested on tjbm11 with the new and old\n        nvmesensor binary to see if there\u0027s regressions:\n        https://paste.googleplex.com/6389420236341248\n        Finally, tested on tmdja26 to see how does nvmed pick up\n        regular I2C devices through mctpreactor:\n        https://paste.googleplex.com/4860794563067904\n\nGoogle-Bug-Id: 444680700\nChange-Id: I3d01d7e6bd7ee6bd9455c0f17e498631cee18cb7\nSigned-off-by: Luka Strizic \u003clstrz@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3391e3504c59239cb9b3f77779d776f6460c4374",
      "old_mode": 33188,
      "old_path": "src/MctpEndpoint.cpp",
      "new_id": "7ffcc27a92d3a6d262547a4954ef75b86492a74d",
      "new_mode": 33188,
      "new_path": "src/MctpEndpoint.cpp"
    },
    {
      "type": "modify",
      "old_id": "770fcb63fc49803f4ef53b7a08ce85c559b2f83b",
      "old_mode": 33188,
      "old_path": "src/MctpEndpoint.hpp",
      "new_id": "ef39f9999ca32ed4057e15dcaee11f911b1a0952",
      "new_mode": 33188,
      "new_path": "src/MctpEndpoint.hpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7157894589cb733d3c201abe2ce5e2ffdaa5a796",
      "new_mode": 33188,
      "new_path": "src/MctpReactorDevice.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f506e988d1c707b96ca7615d5a7fa9e1fe3e5fba",
      "new_mode": 33188,
      "new_path": "src/MctpReactorDevice.hpp"
    },
    {
      "type": "modify",
      "old_id": "8b47e77afc846caf22939d74cbd10f592e45c28b",
      "old_mode": 33188,
      "old_path": "src/NVMeMi.cpp",
      "new_id": "32162ae138af9e317f842dfeb8a520a22890f9f9",
      "new_mode": 33188,
      "new_path": "src/NVMeMi.cpp"
    },
    {
      "type": "modify",
      "old_id": "e04dbf46ca7ab2674ea84e5dc31e8c0ac7afc0be",
      "old_mode": 33188,
      "old_path": "src/NVMeSensorMain.cpp",
      "new_id": "b3a32b5013cf01d7f49ad57dcbdc9efe3ff2569e",
      "new_mode": 33188,
      "new_path": "src/NVMeSensorMain.cpp"
    },
    {
      "type": "modify",
      "old_id": "b7046fc9eb7892bf5c1a82cdd35635c2fa918f28",
      "old_mode": 33188,
      "old_path": "src/meson.build",
      "new_id": "50e1500f2b02150e8781d58ec016c6211779cca1",
      "new_mode": 33188,
      "new_path": "src/meson.build"
    }
  ]
}
