commit | bf1fd27bdd91238f147c6ab4bcd58bdde324d84c | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Wed Jun 05 13:25:53 2024 -0500 |
committer | Archana Kakani <archana.kakani@ibm.com> | Tue Jul 02 23:43:08 2024 -0500 |
tree | 651395c912b995da2dc4255eba3d5a6ec435ad74 | |
parent | aa1efa490c23b4e51ea192ef91f8deb58dc1c201 [diff] [blame] |
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>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp index 1580956..144c880 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1127,6 +1127,10 @@ CustomDBus::getCustomDBus().implementCpuCoreInterface( entity.first); break; + case PLDM_ENTITY_SLOT: + CustomDBus::getCustomDBus().implementPCIeSlotInterface( + entity.first); + break; } } getFRURecordTableMetadataByRemote(fruRecordSetPDRs);