#
1b2c3c03 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ic16d6d63213bbdd91fcb8f5aa986b66865efda2f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
44acab71 |
| 21-Jun-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable modernize-use-override check
This check adds override (introduced in C++11) to overridden virtual functions and removes virtual from those functions as it is not required.
Change
clang-tidy: Enable modernize-use-override check
This check adds override (introduced in C++11) to overridden virtual functions and removes virtual from those functions as it is not required.
Change-Id: I156fc5796ed1cf451491e446c211172f62316ecc Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
#
7e969cb9 |
| 23-Aug-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbus++: use non-deprecated namespaces
The sdbusplus repository has deprecated some namespaces and they are currently only enabled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE guard. Switch to the
sdbus++: use non-deprecated namespaces
The sdbusplus repository has deprecated some namespaces and they are currently only enabled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE guard. Switch to the new namespace names.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f67e74a02616d8ea2241c18758308f2b669672d
show more ...
|
#
f053e6fe |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I41103c892db258a85640aa1442acd9a295c8a847
show more ...
|
#
ba2241c6 |
| 26-Oct-2021 |
Thang Tran <thuutran@amperecomputing.com> |
Support checking host status via GPIO pins
Currently, openBmc supports checking host status via ipmi and PLDM method. However, not all of platforms support IPMI and PLDM. Some platforms, like Ampere
Support checking host status via GPIO pins
Currently, openBmc supports checking host status via ipmi and PLDM method. However, not all of platforms support IPMI and PLDM. Some platforms, like Ampere Mt.Jade checks input GPIO to detect Host firmware boot status. This commit supports Dbus method to check host status via GPIO pins, it checks the value of "host0-ready/-n" pin to detect HOST is ready or not.
Tested: 1. Update GPIO pin to detect host0 ready to "host0-ready" in the device tree. 2. Enable host-gpios option and add executable and service files to openBmc software then flash to the board. 3. In the BMC console, check host-gpio-condition via command "busctl tree xyz.openbmc_project.State.HostCondition.Gpio" Result as below: `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/Gpios `-/xyz/openbmc_project/Gpios/host0 4. Turn on/off the HOST0 then check the host status via command "busctl get-property \ xyz.openbmc_project.State.HostCondition.Gpio \ /xyz/openbmc_project/Gpios/host0 \ xyz.openbmc_project.Condition.HostFirmware \ CurrentFirmwareCondition" Result as below: "xyz.openbmc_project.Condition.HostFirmware.\ FirmwareCondition.<Running/Off>"
Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: I20e38e76c5b70119f0c86e5b497d47453d7c5a6c
show more ...
|