)]}'
{
  "commit": "3746c55368b5731053d64e512d1c20e799669ad9",
  "tree": "88b1574483ddfcacd235efc24b68a818af4d5247",
  "parents": [
    "ead7e927675d28e0e1b7bbc5d47e9bbcdda4da2e"
  ],
  "author": {
    "name": "Jayashree Dhanapal",
    "email": "jayashree-d@hcl.com",
    "time": "Mon Mar 21 14:45:52 2022 +0530"
  },
  "committer": {
    "name": "Zhikui Ren",
    "email": "zhikui.ren@intel.com",
    "time": "Sun Jan 08 21:43:56 2023 +0000"
  },
  "message": "Added support for IPMB based SDR detection dynamically\n\nSDR is a data record that provides platform management sensor type,\nlocations, event generation and access information.\n\nA data records that contain information about the type and the\nnumber of sensors in the platform, sensor threshold support,\nevent generation capabilities and information on what type\nof readings the sensor provides.\n\nHere, SDR of Type 1 records are implemented based on IPMB to read\nthe sensor information from each bus which can be configured\nusing IPMB FRU from the EM file.\n\nSample Config :\n{\n       \"Bus\": \"$ipmbindex\",\n       \"Class\": \"IpmbDevice\",\n       \"Name\": \"$ipmbindex + 1 Twinlake Board\",\n       \"PowerState\": \"Always\",\n       \"Type\": \"IpmbDevice\"\n}\n\nThis configuration is based on the \"xyz.openbmc_project.Ipmb.FruDevice\"\nservice, which will read FRU information from each IPMB bus. \"$bus\"\nwill give the bus index for each IPMB bus.\n\nIf IPMB FRU is detected, SDR info and record count of the sensor in\neach bus will be identified. After getting the record count,\nReservation ID for each IPMB bus will be received.\n\nIpmbSDRDevice will retrieve the full set of SDR Records starting with\n0000h as the Record ID to get the first record. The Next Record ID is\nextracted from the response and this is then used as the Record ID in\na Get SDR request to get the next record. This is repeated until the\nrecord count value is matched.\n\nThe full information of each sensor such as sensor name, sensor type,\nsensor unit, threshold values, sensor unique number will be received\nusing IPMB.\n\nOnce all the sensor information is read, each data will be processed\nand stored in the structure. These data will be accessed in the\nbelow gerrit patch.\n\nhttps://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/52164\n\nTested : Tested on YosemiteV2 platform and verified all the IPMB based\n         SDR Type 1 supported device data.\n\nSigned-off-by: Jayashree Dhanapal \u003cjayashree-d@hcl.com\u003e\nChange-Id: I5f808b68c3052ec5bf78d3d5c5495bd1f448ade3\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4284e7a08a7fb9c385c6f4380336d931cd9b2f79",
      "new_mode": 33188,
      "new_path": "include/IpmbSDRSensor.hpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "14703403701e1832698414ae2d39473cd451b4cd",
      "new_mode": 33188,
      "new_path": "src/IpmbSDRSensor.cpp"
    },
    {
      "type": "modify",
      "old_id": "3fc0ee51f5cee96ef281a4a9ac0c00ca863f1674",
      "old_mode": 33188,
      "old_path": "src/IpmbSensor.cpp",
      "new_id": "ba39214de74da3ef9d6e818e7d56c9eed829194c",
      "new_mode": 33188,
      "new_path": "src/IpmbSensor.cpp"
    },
    {
      "type": "modify",
      "old_id": "e2af923b38ea53672ee3d6ad369bb63a5f7538fa",
      "old_mode": 33188,
      "old_path": "src/meson.build",
      "new_id": "9d44db363db6783cc2d3043d049e1aa9ed7a089c",
      "new_mode": 33188,
      "new_path": "src/meson.build"
    }
  ]
}
