0ce01d78 | 18-Dec-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we need to reformat the code with the latest version. A few parameters in clang-tidy have b
clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we need to reformat the code with the latest version. A few parameters in clang-tidy have been deprecated, so adjust the style file accordingly.
See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style. See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.
Change-Id: Ib4c4ef537fa02f63865d807d42ccb12e23ab709e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
a743e384 | 26-Oct-2024 |
Chau Ly <chaul@amperecomputing.com> |
oem-ampere: eventManager: Handle `BootProgress` sensor event
Add Ampere OEM code to handle the `sensorEvent` for PLDM `BootProgress` sensor. In Ampere system, the SOC termini will have the TID 1 or
oem-ampere: eventManager: Handle `BootProgress` sensor event
Add Ampere OEM code to handle the `sensorEvent` for PLDM `BootProgress` sensor. In Ampere system, the SOC termini will have the TID 1 or 2. The Ampere OEM EventManager will check the terminus TID to confirm about the terminus type. Base on the value of `BootProgress` sensor, the OEM code will add the Redfish Log to report the boot progress of Ampere SoC.
Tested: 1. Power on the host. 2. Check the Redfish SEL log.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: Icc51537ef17ee8eb4b5b571eafeea7b5d7763cbe
show more ...
|
77e6fe7a | 06-Aug-2024 |
Gilbert Chen <gilbertc@nvidia.com> |
platform-mc: Added EventManager
Added eventManager to handle sensor event class(00h) which is defined in table 11 of DSP0248 v1.3.0. In this commit, the eventManager supports to receive event asynch
platform-mc: Added EventManager
Added eventManager to handle sensor event class(00h) which is defined in table 11 of DSP0248 v1.3.0. In this commit, the eventManager supports to receive event asynchronously. The commit will also log the Ipmitool SEL log and Redfish log for PLDM sensor event messages.
Change-Id: I1b337ccae454067841ffbbd8754631216a995542 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Signed-off-by: Gilbert Chen <gilbertc@nvidia.com>
show more ...
|
a31ceb91 | 21-Jul-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm: Add Slot enable infrastructure in BMC
With this commit PDRs are created for each of these PCIe slots and adapters which have a corresponding entry in the entity associate map. The sensor/ef
oem_ibm: Add Slot enable infrastructure in BMC
With this commit PDRs are created for each of these PCIe slots and adapters which have a corresponding entry in the entity associate map. The sensor/effector states are monitored and accordingly D-Bus calls are sent for enabling a slot, process property change of a PCIe slot, etc.
Tested By: SIMICS power on/off and reset reload.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I51b79b75c909ddf2cc29872fec6aa01c2d56b418
show more ...
|
40d4387c | 07-Sep-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off get_fru_record_by_option_check()
Generated with:
``` $ ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/v0.9.1/get_fru_record_by_option_check.yaml ```
Ch
pldm: Move off get_fru_record_by_option_check()
Generated with:
``` $ ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/v0.9.1/get_fru_record_by_option_check.yaml ```
Change-Id: I9b0f6748e2007bfa4d0b2db244bfd5e7444271d0 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
b3b84b49 | 23-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://rel
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://releases.llvm.org/13.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-deprecated-headers.html
Change-Id: Ia3b1df10175e2e661c8fffb82e357c9db81b2e9c Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
51d66b59 | 06-Aug-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
platform-mc: Set the local terminus as event receiver
Send `SetEventReceiver` to the discoveried terminus with the configurable local EID to set the local terminus as event receiver. Before send `Se
platform-mc: Set the local terminus as event receiver
Send `SetEventReceiver` to the discoveried terminus with the configurable local EID to set the local terminus as event receiver. Before send `SetEventReceiver` the local terminus also send `EventMessageSupported` to get the `synchronyConfigurationSupported`. The `eventMessageGlobalEnable` and `heartbeatTimer` options in the `SetEventReceiver` command will depend on the responded `synchronyConfigurationSupported`.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Signed-off-by: Gilbert Chen <gilbertc@nvidia.com> Change-Id: Ia798c1cd5d946ac519933bca60620e970fe10b0a
show more ...
|
90f28d7b | 26-Aug-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
Rename dbus_to_host_effecter* to dbus_to_terminus_effecter*
Some `dbus_to_host_effecter*` files still are not changed to `dbus_to_terminus_effecter*` in commit `a34a64b: Support numeric effecters in
Rename dbus_to_host_effecter* to dbus_to_terminus_effecter*
Some `dbus_to_host_effecter*` files still are not changed to `dbus_to_terminus_effecter*` in commit `a34a64b: Support numeric effecters in dbus-to-host-effecter`. Rename those files.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I923083c5b1bda7b63969b28598189721a42899ad
show more ...
|
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 ...
|
3012b632 | 22-Aug-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson files. Formatting all the meson files is now as simple as running `meson format -i -r` command in th
Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson files. Formatting all the meson files is now as simple as running `meson format -i -r` command in the repository root folder.
more details : https://mesonbuild.com/Commands.html#format
Change-Id: I9c5468cc502ae78b7a055e2de2a10296930cb9ec Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
16c2a0a0 | 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: I8c84201cb2343a8c8a5507a49de0721a1bee7063 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
0eb5bcef | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_append_pad_checksum_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_tabl
pldm: Move off pldm_bios_table_append_pad_checksum_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_append_pad_checksum_check.yaml ```
Change-Id: If9fd3e8e96a7889051b879e292e67223f2757fc3 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
a5f2fcdb | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_value_entry_encode_integer_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pl
pldm: Move off pldm_bios_table_attr_value_entry_encode_integer_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_value_entry_encode_integer_check.yaml ```
Change-Id: Ifdae4ebf848a43d9bd997292b35426b26dbf558c Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
25d38789 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_value_entry_encode_string_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pld
pldm: Move off pldm_bios_table_attr_value_entry_encode_string_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_value_entry_encode_string_check.yaml ```
Change-Id: If3454dc8a7b2036c035d49b1e6d9ba1b23547138 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
4663aaed | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_value_entry_encode_enum_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_
pldm: Move off pldm_bios_table_attr_value_entry_encode_enum_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_value_entry_encode_enum_check.yaml ```
Change-Id: Id989540d8ad4ea114ee059992be4293254e1ecc2 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
228dae3e | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_integer_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bio
pldm: Move off pldm_bios_table_attr_entry_integer_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_integer_encode_check.yaml ```
Change-Id: I1b5616570862b7069028fb3e4481a5fcd2db1a57 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
53e342a2 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_string_decode_def_string_length_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions
pldm: Move off pldm_bios_table_attr_entry_string_decode_def_string_length_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_string_decode_def_string_length_check.yaml ```
gitlint-ignore: T1,B1 Change-Id: Ib7b44820870da32109981c8a8d44657214cf1d61 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
bc28b91a | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_string_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios
pldm: Move off pldm_bios_table_attr_entry_string_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_string_encode_check.yaml ```
Change-Id: I5cbbedd1ef855ead2048b25b35bb9c3e5547175e Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
2461105e | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pld
pldm: Move off pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_enum_decode_pv_hdls_check.yaml ```
Change-Id: I6dd0cf34f023aa1d4f806d0a24eb45ce5e822d12 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
ff3fb9ec | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_enum_decode_def_num_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pld
pldm: Move off pldm_bios_table_attr_entry_enum_decode_def_num_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_enum_decode_def_num_check.yaml ```
Change-Id: I4a1777cf6b29ed8f1cf47770d058a3dd0b7c8e7b Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
8c05ca20 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_enum_decode_pv_num_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm
pldm: Move off pldm_bios_table_attr_entry_enum_decode_pv_num_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_enum_decode_pv_num_check.yaml ```
Change-Id: I749ac6dd0423a82e16dc1a6d35bfec5a9041b565 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
04883159 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_attr_entry_enum_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_t
pldm: Move off pldm_bios_table_attr_entry_enum_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_attr_entry_enum_encode_check.yaml ```
Change-Id: Id8e99a4561ac4568baf6a961177bd5b4820fdff6 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
fe1189c1 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_string_entry_decode_string_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bi
pldm: Move off pldm_bios_table_string_entry_decode_string_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_string_entry_decode_string_check.yaml ```
Change-Id: I085a4b6bbd8a08db19156ab404d5dde6a20d32ba Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
51d2ef27 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_bios_table_string_entry_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_tabl
pldm: Move off pldm_bios_table_string_entry_encode_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_bios_table_string_entry_encode_check.yaml ```
Change-Id: I254f11a4002c3a6308acb1e59473dc5bbf367afc Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
bc2955f4 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_entity_association_pdr_add_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_entity_associ
pldm: Move off pldm_entity_association_pdr_add_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_entity_association_pdr_add_check.yaml ```
Change-Id: Iaf651b77b29b8fada673d2a64b67c27a1e3654a2 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|