Support numeric effecters in dbus-to-host-effecterAdds support of the numeric effecter PDR (section `28.11 NumericEffecter PDR` DSP0248 V1.3.0) type in dbus-to-host-effecter handler.This handler
Support numeric effecters in dbus-to-host-effecterAdds support of the numeric effecter PDR (section `28.11 NumericEffecter PDR` DSP0248 V1.3.0) type in dbus-to-host-effecter handler.This handler will be applied for all PLDM termini but not only host.The setting for one numeric effecter of one device can be:{ "mctp_eid": 20, "effecter_info": { "effecterPdrType": 9, "effecterID": 2, "entityType": 32903, "entityInstance": 2, "containerID": 2, "compositeEffecterCount": 1, "checkHostState": false }, "effecters": [ { "dbus_info": { "object_path": "/xyz/openbmc_project/sensors/power/A", "interface": "xyz.openbmc_project.Sensor.Value", "property_name": "Value", "property_type": "double" }, "effecterDataSize": 5, "resolution": 1, "offset": 0, "unitModifier": 0 } ]}Where:+ effecterPdrType to difference state/numeric effecter type. Defaultis state effecter.+ effecterID should be effecter ID and should not empty.+ checkHostState can be set to false to bypass checking host state.+ effecterDataSize, resolution, offset, unitModifier are from numericeffecter PDR (section `28.11 Numeric Effecter PDR` DSP0248 V1.3.0)Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>Change-Id: I438d7f204643edd4066e8a6ba28d53a97503fc4b
show more ...
prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.
prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
tests: Organize the test code to make it modularThe unit test code for libpldmresponder, host-bmc and common isin a shared test directory. This patch separates the test codeto the respective dire
tests: Organize the test code to make it modularThe unit test code for libpldmresponder, host-bmc and common isin a shared test directory. This patch separates the test codeto the respective directory.Tested: Ran the unit test and tests passed.Signed-off-by: Tom Joseph <rushtotom@gmail.com>Change-Id: I31d53681fa6c0d8bc6eb7c4e3341aaff4bc341ee