7a78ced6 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
host-bmc: cpu_core: Delete move methods
``` In file included from ../host-bmc/host_pdr_handler.cpp:7: In file included from ../host-bmc/dbus/custom_dbus.hpp:5: ../host-bmc/dbus/cpu_core.hpp:24:5: er
host-bmc: cpu_core: Delete move methods
``` In file included from ../host-bmc/host_pdr_handler.cpp:7: In file included from ../host-bmc/dbus/custom_dbus.hpp:5: ../host-bmc/dbus/cpu_core.hpp:24:5: error: explicitly defaulted move constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] 24 | CPUCore(CPUCore&&) = default; | ^ ../host-bmc/dbus/cpu_core.hpp:17:17: note: move constructor of 'CPUCore' is implicitly deleted because base class 'CoreIntf' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::CpuCore>') has a deleted move constructor 17 | class CPUCore : public CoreIntf | ^ ../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:54:5: note: 'object' has been explicitly marked deleted here 54 | object(object&&) = delete; | ^ ../host-bmc/dbus/cpu_core.hpp:24:26: note: replace 'default' with 'delete' 24 | CPUCore(CPUCore&&) = default; | ^~~~~~~ | delete ../host-bmc/dbus/cpu_core.hpp:25:14: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] 25 | CPUCore& operator=(CPUCore&&) = default; | ^ ../host-bmc/dbus/cpu_core.hpp:17:17: note: move assignment operator of 'CPUCore' is implicitly deleted because base class 'CoreIntf' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::CpuCore>') has a deleted move assignment operator 17 | class CPUCore : public CoreIntf | ^ ../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:55:13: note: 'operator=' has been explicitly marked deleted here 55 | object& operator=(object&&) = delete; | ^ ../host-bmc/dbus/cpu_core.hpp:25:37: note: replace 'default' with 'delete' 25 | CPUCore& operator=(CPUCore&&) = default; | ^~~~~~~ | delete ```
Change-Id: I190cf07cce199945df1b527b355c41091860a95a Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
d769c6d1 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
host-bmc: motherboard: Delete move methods
``` In file included from ../host-bmc/host_pdr_handler.cpp:7: In file included from ../host-bmc/dbus/custom_dbus.hpp:6: ../host-bmc/dbus/motherboard.hpp:29
host-bmc: motherboard: Delete move methods
``` In file included from ../host-bmc/host_pdr_handler.cpp:7: In file included from ../host-bmc/dbus/custom_dbus.hpp:6: ../host-bmc/dbus/motherboard.hpp:29:5: error: explicitly defaulted move constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] 29 | Motherboard(Motherboard&&) = default; | ^ ../host-bmc/dbus/motherboard.hpp:22:21: note: move constructor of 'Motherboard' is implicitly deleted because base class 'ItemMotherboard' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::board::Motherboard>') has a deleted move constructor 22 | class Motherboard : public ItemMotherboard | ^ ../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:54:5: note: 'object' has been explicitly marked deleted here 54 | object(object&&) = delete; | ^ ../host-bmc/dbus/motherboard.hpp:29:34: note: replace 'default' with 'delete' 29 | Motherboard(Motherboard&&) = default; | ^~~~~~~ | delete ../host-bmc/dbus/motherboard.hpp:30:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] 30 | Motherboard& operator=(Motherboard&&) = default; | ^ ../host-bmc/dbus/motherboard.hpp:22:21: note: move assignment operator of 'Motherboard' is implicitly deleted because base class 'ItemMotherboard' (aka 'object<sdbusplus::server::xyz::openbmc_project::inventory::item::board::Motherboard>') has a deleted move assignment operator 22 | class Motherboard : public ItemMotherboard | ^ ../subprojects/sdbusplus/include/sdbusplus/server/object.hpp:55:13: note: 'operator=' has been explicitly marked deleted here 55 | object& operator=(object&&) = delete; | ^ ../host-bmc/dbus/motherboard.hpp:30:45: note: replace 'default' with 'delete' 30 | Motherboard& operator=(Motherboard&&) = default; | ^~~~~~~ | delete ```
Change-Id: If739f3d044c559f56dab143d5c53800a9d6f5082 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
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 ...
|
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 ...
|