Home
last modified time | relevance | path

Searched full:pdrs (Results 1 – 25 of 50) sorted by relevance

12

/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/PLDM/
H A DPDR.interface.yaml2 Implement to fetch the PDRs. PDRs are Platform Descriptor Records which are
20 set id. If multiple PLDM entity instances(in state effecter PDRs)
22 effecter PDRs are returned. More than one PDR can be returned for the
59 Array of State Effecter PDRs, where a PDR is an array[byte].
60 Multiple PDRs of the format present in table 89 of DSP0248
61 version 1.2.0 are returned. Each of the PDRs returned has the
71 set id. If multiple PLDM entity instances (in state sensor PDRs) match
73 PDRs are returned. More than one PDR can be returned for the same
106 Array of State Sensor PDRs, where a PDR is an array[byte].
107 Multiple PDRs of the format present in table 80 of DSP0248
[all …]
H A DEvent.interface.yaml31 The sensorID is the value that is used in PDRs and PLDM sensor
/openbmc/pldm/pldmd/
H A Ddbus_impl_pdr.cpp19 auto pdrs = in findStateEffecterPDR() local
22 if (pdrs.empty()) in findStateEffecterPDR()
27 return pdrs; in findStateEffecterPDR()
33 auto pdrs = in findStateSensorPDR() local
35 if (pdrs.empty()) in findStateSensorPDR()
39 return pdrs; in findStateSensorPDR()
/openbmc/pldm/platform-mc/
H A Dterminus.hpp65 * Terminus class holds the TID, supported PLDM Type or PDRs which are needed by
132 /** @brief Parse the PDRs stored in the member variable, pdrs.
159 /** @brief A list of PDRs fetched from Terminus */ member in pldm::platform_mc::Terminus
160 std::vector<std::vector<uint8_t>> pdrs{};
222 /** @brief Parse the numeric sensor PDRs
224 * @param[in] pdrData - the response PDRs from GetPDR command
230 /** @brief Parse the sensor Auxiliary name PDRs
232 * @param[in] pdrData - the response PDRs from GetPDR command
238 /** @brief Parse the Entity Auxiliary name PDRs
[all...]
H A Dplatform_manager.cpp65 "Failed to fetch PDRs for terminus with TID: {TID}, error: {ERROR}", in initTerminus()
74 * Need terminus name from PDRs before updating Inventory object with in initTerminus()
269 terminus->pdrs.clear(); in getPDRs()
282 … "Failed to get PDRs for terminus {TID}, error: {RC}, first part of record handle {RECORD}", in getPDRs()
284 terminus->pdrs.clear(); in getPDRs()
291 terminus->pdrs.emplace_back(std::vector<uint8_t>( in getPDRs()
313 … "Failed to get PDRs for terminus {TID}, error: {RC}, get middle part of record handle {RECORD}", in getPDRs()
315 terminus->pdrs.clear(); in getPDRs()
325 terminus->pdrs.emplace_back(std::move(receivedPdr)); in getPDRs()
H A Dplatform_manager.hpp52 /** @brief Fetch all PDRs from terminus.
54 * @param[in] terminus - The terminus object to store fetched PDRs
/openbmc/pldm/host-bmc/
H A Dhost_pdr_handler.hpp58 * @brief This class can fetch and process PDRs from host firmware
59 * @details Provides an API to fetch PDRs from the host firmware. Upon
60 * receiving the PDRs, they are stored into the BMC's primary PDR repo.
61 * Adjustments are made to entity association PDRs received from the host,
64 * association PDRs is sent to the host.
100 /** @brief fetch PDRs from host firmware. See @class.
102 * PDRs that need to be fetched.
108 * handles of PDRs that the host firmware has to fetch.
139 /** @brief Parse state sensor PDRs and populate the sensorMap lookup data
142 * @param[in] stateSensorPDRs - host state sensor PDRs
[all …]
H A Ddbus_to_event_handler.hpp26 * @brief This class can listen to the state sensor PDRs and send PLDM event
50 /** @brief Listen all of the state sensor PDRs
/openbmc/openpower-hw-diags/util/
H A Dpldm.cpp352 // get state sensor PDRs in fetchSensorInfo()
353 std::vector<std::vector<uint8_t>> pdrs{}; in fetchSensorInfo() local
354 if (!util::dbus::getStateSensorPdrs(pdrs, stateSetId)) in fetchSensorInfo()
359 // check for any PDRs available in fetchSensorInfo()
360 if (!pdrs.size()) in fetchSensorInfo()
362 trace::err("state sensor PDRs not present"); in fetchSensorInfo()
366 // find the offset of specified sensor withing PDRs in fetchSensorInfo()
369 reinterpret_cast<const pldm_state_sensor_pdr*>(pdrs.front().data()); in fetchSensorInfo()
398 for (auto& pdr : pdrs) in fetchSensorInfo()
430 // get state effecter PDRs in fetchEffecterInfo()
[all …]
H A Ddbus.hpp185 /** @brief Get list of state sensor PDRs
187 * @param[out] pdrList - list of PDRs
195 /** @brief Get list of state effecter PDRs
197 * @param[out] pdrList - list of PDRs
H A Ddbus.cpp472 /** @brief Get list of state effecter PDRs */
493 // request PDRs in getStateEffecterPdrs()
499 trace::err("failed to find state effecter PDRs"); in getStateEffecterPdrs()
507 /** @brief Get list of state sensor PDRs */
528 // request PDRs in getStateSensorPdrs()
534 trace::err("failed to find state sensor PDRs"); in getStateSensorPdrs()
/openbmc/pldm/platform-mc/test/
H A Dterminus_test.cpp93 t1.pdrs.emplace_back(pdr1); in TEST()
94 t1.pdrs.emplace_back(pdr2); in TEST()
110 EXPECT_EQ(2, t1.pdrs.size());
209 t1.pdrs.emplace_back(pdr1); in TEST()
210 t1.pdrs.emplace_back(pdr2); in TEST()
230 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
330 t1.pdrs.emplace_back(pdr1); in TEST()
331 t1.pdrs.emplace_back(pdr2); in TEST()
352 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
385 t1.pdrs in TEST()
[all...]
H A Dsensor_manager_test.cpp139 termini[tid]->pdrs.push_back(pdr1);
140 termini[tid]->pdrs.push_back(pdr2);
H A Dplatform_manager_test.cpp193 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
358 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
477 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
494 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
529 EXPECT_EQ(0, terminus->pdrs.size());
/openbmc/docs/designs/
H A Dpldm-stack.md113 monitor the static or self-described(with PDRs) PLDM sensors in satellite
449 command to get the terminus PDRs. Based on the retrieved PDRs, `pldmd` will
457 sensors/effecter/state PDRs (section 28.4, 28.6, 28.8, 28.11, 28.14, 28.15,
459 - The Fru info using FRU PDRs (section 28.22 of DSP0248 1.2.1).
460 - The other info using the others PDRs in section 28.x of DSP0248 1.2.1.
462 The above PDRs can also be configured in the JSON configuration files. When
466 [PDRs configuration files](https://github.com/openbmc/pldm/tree/master/configurations)
469 Terminus's PDRs or the Terminus' EM JSON configuration files. This
488 Sensor PDRs by PDR Repository commands (`GetPDRRepositoryInfo`, `GetPDR`) for
497 device uses PLDM for access only and doesn't support PDRs. The PDRs for the
[all …]
/openbmc/openpower-occ-control/
H A Dpldm.cpp41 PdrList pdrs{}; in fetchSensorInfo() local
53 responseMsg.read(pdrs); in fetchSensorInfo()
66 if (pdrs.empty()) in fetchSensorInfo()
70 lg2::error("fetchSensorInfo: state sensor PDRs ({ID}) not present", in fetchSensorInfo()
80 lg2::info("fetchSensorInfo: found {NUM} PDRs", "NUM", pdrs.size()); in fetchSensorInfo()
86 reinterpret_cast<const pldm_state_sensor_pdr*>(pdrs.front().data()); in fetchSensorInfo()
113 // Note that when a proc is on a DCM, the PDRs for these sensors in fetchSensorInfo()
116 for (auto& pdr : pdrs) in fetchSensorInfo()
317 PdrList pdrs{}; in fetchEffecterInfo() local
328 responseMsg.read(pdrs); in fetchEffecterInfo()
[all …]
/openbmc/pldm/configurations/
H A DentityMap.json6 …etrieves Platform Descriptor Records (PDRs) from remote terminus. Utilizing the information gleane…
/openbmc/pldm/oem/ibm/configurations/
H A DentityMap.json6 …etrieves Platform Descriptor Records (PDRs) from remote terminus. Utilizing the information gleane…
/openbmc/pldm/tools/visualize-pdr/
H A DREADME.md3 The `pldmtool` for `GetPDR` command lacks to display all PDRs at once. It
5 Host FRU pdrs coming in due to concurrent maintenance of the system,where the
/openbmc/pldm/common/
H A Dutils.cpp42 std::vector<std::vector<uint8_t>> pdrs; in findStateEffecterPDR() local
69 pdrs.emplace_back(std::move(effecter_pdr)); in findStateEffecterPDR()
84 return pdrs; in findStateEffecterPDR()
94 std::vector<std::vector<uint8_t>> pdrs; in findStateSensorPDR() local
121 pdrs.emplace_back(std::move(sensor_pdr)); in findStateSensorPDR()
138 return pdrs; in findStateSensorPDR()
575 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() local
576 for (auto pdr : pdrs) in findStateSensorId()
/openbmc/libpldm/include/libpldm/
H A Dpdr.h32 * @note Caller may make multiple repositories (for its own PDRs, as well as
33 * for PDRs received by other entities) and can associate the returned handle
176 * If repo is NULL then there are no PDRs that can be removed.
185 * If repo is NULL there are no PDRs that can be removed.
457 * Remote PDRs are PDRs added as a child to an entity in the entity association tree and
458 * not to the tree directly. This means remote PDRs have a parent PDR in the entity
/openbmc/pldm/softoff/
H A Dsoftoff.hpp105 /** @brief Get effecterID from PDRs.
116 /** @brief Get VMM/SystemFirmware Sensor info from PDRs.
/openbmc/openbmc-tools/pldm/
H A Dpdrdump.sh3 printf "Dumping PDRs to $pdrdump_file ..."
/openbmc/u-boot/arch/x86/include/asm/arch-quark/acpi/
H A Dsouthcluster.asl148 Name(PDRS, ResourceTemplate() {
160 Return (PDRS)
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_sensor/malformed/
H A Dsensor_pdr.json1 // This JSON is tied with BMC's PDRs. Each entry is used to identify a group of

12