#
a34a64bb |
| 30-Mar-2022 |
Thu Nguyen <thu@os.amperecomputing.com> |
Support numeric effecters in dbus-to-host-effecter
Adds support of the numeric effecter PDR (section `28.11 Numeric Effecter PDR` DSP0248 V1.3.0) type in dbus-to-host-effecter handler. This handler
Support numeric effecters in dbus-to-host-effecter
Adds support of the numeric effecter PDR (section `28.11 Numeric Effecter 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. Default is 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 numeric effecter 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 ...
|
#
9eceb843 |
| 15-Dec-2022 |
Chinmay Shripad Hegde <hosmanechinmay@gmail.com> |
Add malformed test json files to linter ignore file
There are few malformed json files in unit tests. Which was causing CI failures with prettier. These file needs to be skipped while formatting.
U
Add malformed test json files to linter ignore file
There are few malformed json files in unit tests. Which was causing CI failures with prettier. These file needs to be skipped while formatting.
Unit Tests: 1. Verify formatting is skipped for ignored files.
Signed-off-by: Chinmay Shripad Hegde <hosmanechinmay@gmail.com> Change-Id: Idc7e6b1bf8d0d446aa71ff3cefe390b011340bdf
show more ...
|