clang-format: re-format for clang-18clang-format-18 isn't compatible with the clang-format-17 output, so weneed to reformat the code with the latest version. The way clang-18handles lambda forma
clang-format: re-format for clang-18clang-format-18 isn't compatible with the clang-format-17 output, so weneed to reformat the code with the latest version. The way clang-18handles lambda formatting also changed, so we have made changes to theorganization default style format to better handle lambda formatting.See I5e08687e696dd240402a2780158664b7113def0e for updated style.See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.Change-Id: I8c84201cb2343a8c8a5507a49de0721a1bee7063Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
oem-ibm: Implement Host lamp test interfaceIBM has a feature called LampTest and what it does is this: - BMC would set the state of LEDs to [ON] on all the BMC accessible LEDs. - For LEDs t
oem-ibm: Implement Host lamp test interfaceIBM has a feature called LampTest and what it does is this: - BMC would set the state of LEDs to [ON] on all the BMC accessible LEDs. - For LEDs that are not accessible by BMC, a message is sent to the Host, so that the Host can exercise all the LEDs on the connected drawers and anything else that the BMC does not have access to.This commit adds support to send message to Host when BMC has to tellthe Host to exercise LEDs accessible by host.When Host sees the effector is set, it goes ahead and turns [ON] allthe LEDs for a specified time and automatically restores the statesat timer expiration. BMC does not have to tell the Host to stop thetest and it is part of Host's lamp test requirement.TESTED: By setting the asserted property of the LED groups objectbusctl set-property xyz.openbmc_project.LED.GroupManager/xyz/openbmc_project/led/groups/lamp_testxyz.openbmc_project.Led.Group Asserted b trueAnd verifying that the setEffecterStates call was made to theremote state effecter to turn on all LEDsSigned-off-by: George Liu <liuxiwei@inspur.com>Change-Id: I990dce28d3017f20c73ff9029fced0e7ac84868f