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 ...
|
17d32904 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_pdr_add_fru_record_set_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_pdr_add_fru_recor
pldm: Move off pldm_pdr_add_fru_record_set_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_pdr_add_fru_record_set_check.yaml ```
Change-Id: I61aa5ff4ed3eda23605d80fd8aafd1db92172646 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
5a945bd1 | 01-Aug-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Move off pldm_pdr_add_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_pdr_add_check.yaml ```
Change-I
pldm: Move off pldm_pdr_add_check()
Generated with:
``` $ CLANG_VERSION=18 ./subprojects/libpldm/scripts/apply-renames ./subprojects/libpldm/evolutions/current/pldm_pdr_add_check.yaml ```
Change-Id: I4982195e97c25567b35f77ee7dcf795629d259b4 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
0fc6abe7 | 31-Jul-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-diagnostic error: no type named 'BIOSAttribute'
Clang was throwing no type named 'BIOSAttribute' in namespace 'pldm::responder::bios' as the necessary header was not included.
Change-Id: Id5d
clang-diagnostic error: no type named 'BIOSAttribute'
Clang was throwing no type named 'BIOSAttribute' in namespace 'pldm::responder::bios' as the necessary header was not included.
Change-Id: Id5df1be4b811f5206d69841896bba8357e0c9e5d Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
699534f1 | 29-Jul-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-diagonsotic error: unknown type name 'stateSensorCacheMaps'
The stateSensorCacheMaps was not included anywhere in this resulting in a clang-diagnostic error.
Change-Id: I87177307a59283f2ab02e
clang-diagonsotic error: unknown type name 'stateSensorCacheMaps'
The stateSensorCacheMaps was not included anywhere in this resulting in a clang-diagnostic error.
Change-Id: I87177307a59283f2ab02e9b73dae66ce278a2aea Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
197033b0 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
libpldmresponder: bios_config: Remove unused 'fd' member
``` ../libpldmresponder/bios_config.hpp:164:9: error: private field 'fd' is not used [-Werror,-Wunused-private-field] 164 | int fd;
libpldmresponder: bios_config: Remove unused 'fd' member
``` ../libpldmresponder/bios_config.hpp:164:9: error: private field 'fd' is not used [-Werror,-Wunused-private-field] 164 | int fd; | ^ ```
Change-Id: If4aeb134726fe7bfb2c884c4c4854337a93318bb Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
3f5a969c | 16-Jul-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
pldmd: fix crash when re-request D-Bus name
`bus.request_name("xyz.openbmc_project.PLDM")` throws D-Bus exception when the name `xyz.openbmc_project.PLDM` is already requested. This causes the `pldm
pldmd: fix crash when re-request D-Bus name
`bus.request_name("xyz.openbmc_project.PLDM")` throws D-Bus exception when the name `xyz.openbmc_project.PLDM` is already requested. This causes the `pldmd` service will be crashed when build pldm source with `oem-ibm` disabled & `system-specific-bios-json` disabled. Add `try...catch...` to prevent the crash of `pldmd`.
Tested: Was able to successfully start pldm service and see that the bus name `xyz.openbmc_project.PLDM` was claimed with these options setups: + `oem-ibm` disabled & `system-specific-bios-json` enabled. + `oem-ibm` disabled & `system-specific-bios-json` disabled.
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com> Change-Id: I2ac70b686d1468b9c7484d5bf2543db2b4f33ded
show more ...
|
eb43d6c8 | 01-May-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
Add support for the coreCount property in DBus
This commit introduces support for counting the number of CPU cores during BMC power-on and populates this information to a DBus property named coreCou
Add support for the coreCount property in DBus
This commit introduces support for counting the number of CPU cores during BMC power-on and populates this information to a DBus property named coreCount. Upon BMC power-on, the remote terminus detects the number of CPU cores and send this data and PLDM will updates the coreCount property accordingly.
Tested: tested on simulator for hosting DBus property
Change-Id: I37adbe399414fcff3f089fb819349ca4bb537edd Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
b49b7d80 | 08-Feb-2021 |
George Liu <liuxiwei@inspur.com> |
oem-ibm: Implement Host lamp test interface
IBM 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 interface
IBM 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 tell the Host to exercise LEDs accessible by host.
When Host sees the effector is set, it goes ahead and turns [ON] all the LEDs for a specified time and automatically restores the states at timer expiration. BMC does not have to tell the Host to stop the test and it is part of Host's lamp test requirement.
TESTED: By setting the asserted property of the LED groups object
busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/lamp_test xyz.openbmc_project.Led.Group Asserted b true
And verifying that the setEffecterStates call was made to the remote state effecter to turn on all LEDs
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I990dce28d3017f20c73ff9029fced0e7ac84868f
show more ...
|
c5a11203 | 03-Jul-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Skip endpoint check when responding to GetPDR requests
Bypassing the remote endpoint status check before responding to GetPDR requests prevents potential issues due to the variable behavior of remot
Skip endpoint check when responding to GetPDR requests
Bypassing the remote endpoint status check before responding to GetPDR requests prevents potential issues due to the variable behavior of remote PLDM termini. If a remote terminus sends a GetPDR request before responding to the GetPLDMVersion command, a race condition may occur. Therefore, it is safer to skip the remote endpoint alive check.
Change-Id: I9b2a186fee7f8d3a382b1573d872596728c9f7d4 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
ca8f6c7a | 09-Jul-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
libpldmresponder: fix an eternal hang in requesting bus name
If oem-ibm is disabled, but system-specific-bios-json option is enabled pldmd fails to start since its timing out waiting to request the
libpldmresponder: fix an eternal hang in requesting bus name
If oem-ibm is disabled, but system-specific-bios-json option is enabled pldmd fails to start since its timing out waiting to request the bus name. This fix also breaks the dependency between the above two meson options.
Tested: - Was able to successfully start pldm service and see that the bus name was claimed with oem-ibm disabled & system-specific-bios-json enabled.
Change-Id: Ie78521017ea20b7503b4425bf4c2f605c884ef1d Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
0a422696 | 03-Jun-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
pldm: Adding support to find system type
This commit adds support to find the system type by checking the JSON directory presence when entity manager sends the system names. Once system type is set
pldm: Adding support to find system type
This commit adds support to find the system type by checking the JSON directory presence when entity manager sends the system names. Once system type is set then PLDM continues the further operations like pdr generation, system specific bios etc...
Testing: Tested on real hardware
Change-Id: I3b0a7725a72cd3a3c8fe0a4c6ff6b38510a2a2ea Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
b40f4f8f | 06-Jun-2024 |
Archana Kakani <archana.kakani@ibm.com> |
pldm: Implement Cable interface
Adding support to host Cable dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Cable i
pldm: Implement Cable interface
Adding support to host Cable dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Cable interface is defined at [1].
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml
Change-Id: I23f02387c1d50ce8d9c5921760740760cea2cd47 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
show more ...
|
733b39da | 05-Jun-2024 |
Archana Kakani <archana.kakani@ibm.com> |
pldm: Implement PCIeDevice interface
Adding support to host PCIeDevice dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. T
pldm: Implement PCIeDevice interface
Adding support to host PCIeDevice dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The PCIe Device interface is defined at [1].
Tested: Functional test passed
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/PCIeDevice.interface.yaml
Change-Id: I69472efef33c3ad030ba4c831f07f60833b2c40b Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
show more ...
|
bf1fd27b | 05-Jun-2024 |
Archana Kakani <archana.kakani@ibm.com> |
pldm: Implement PCIeSlot interface
Adding support to host dbus PCIeSlot interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The S
pldm: Implement PCIeSlot interface
Adding support to host dbus PCIeSlot interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Slot interface is defined at [1].
Tested: Functional test passed.
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/PCIeSlot.interface.yaml
Change-Id: I98db6c31ddcb35e5c124d060c4ee0ab0f8819e72 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
show more ...
|
56da5740 | 23-May-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
Adding CPUCore interface support
This commit introduces essential D-Bus infrastructure support for hosting the `Item.CPUCore` D-Bus object. Additionally, it includes getter and setter functions to e
Adding CPUCore interface support
This commit introduces essential D-Bus infrastructure support for hosting the `Item.CPUCore` D-Bus object. Additionally, it includes getter and setter functions to enable get/set properties within the `CPUCore` interface, such as core count and microcode.
Testing: Unit test passed
Change-Id: I728522b34e96ee7d6609efb5746b40cf923812e8 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
14107a10 | 19-Jun-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
host-bmc: migrate dbus hosting logic into dbus folder
This commit aims at migrating the custom_dbus files from the host_bmc directory to the host-bmc/dbus directory. This makes the code cleaner sinc
host-bmc: migrate dbus hosting logic into dbus folder
This commit aims at migrating the custom_dbus files from the host_bmc directory to the host-bmc/dbus directory. This makes the code cleaner since it abstracts all the dbus objects hosting code to the dbus folder
Change-Id: Ia310e8a16f9489060ef228496d364c602a4fa6a8 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
2576aecd | 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I539a0c5baa63be240fc1c76367c0af338dd89c7b Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
a881c170 | 21-Jun-2021 |
George Liu <liuxiwei@inspur.com> |
Reduce multiple oem_ibm entry points in pldmd
Abstract the custom method of `OEM-IBM` into the oem-ibm.hpp file to prevent the continuous increase of custom code and reduce multiple `OEM-IBM` entry
Reduce multiple oem_ibm entry points in pldmd
Abstract the custom method of `OEM-IBM` into the oem-ibm.hpp file to prevent the continuous increase of custom code and reduce multiple `OEM-IBM` entry points in pldmd.
Tested: enabled oem-ibm and built pldm successfully.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ieddb8d12281553e70bdb1c333bd29425c9d14fb0
show more ...
|