commit | 733b39dacf401379998c0f9a72ce4b5c899fd40c | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Wed Jun 05 21:05:20 2024 -0500 |
committer | Archana Kakani <archana.kakani@ibm.com> | Tue Jul 02 23:45:43 2024 -0500 |
tree | e4feba70f1c7bca3ac42843bde124d5a96af7cad | |
parent | bf1fd27bdd91238f147c6ab4bcd58bdde324d84c [diff] [blame] |
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>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp index 144c880..950cafe 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1131,6 +1131,12 @@ CustomDBus::getCustomDBus().implementPCIeSlotInterface( entity.first); break; + case PLDM_ENTITY_CARD: + CustomDBus::getCustomDBus().implementPCIeDeviceInterface( + entity.first); + break; + default: + break; } } getFRURecordTableMetadataByRemote(fruRecordSetPDRs);