Home
last modified time | relevance | path

Searched full:pdrs (Results 1 – 25 of 49) 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.hpp32 * Terminus class holds the TID, supported PLDM Type or PDRs which are needed by
99 /** @brief Parse the PDRs stored in the member variable, pdrs.
132 /** @brief A list of PDRs fetched from Terminus */
133 std::vector<std::vector<uint8_t>> pdrs{}; member in pldm::platform_mc::Terminus
195 /** @brief Parse the numeric sensor PDRs
197 * @param[in] pdrData - the response PDRs from GetPDR command
203 /** @brief Parse the sensor Auxiliary name PDRs
205 * @param[in] pdrData - the response PDRs from GetPDR command
211 /** @brief Parse the Entity Auxiliary name PDRs
213 * @param[in] pdrData - the response PDRs from GetPDR command
[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()
/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.
107 /** @brief delete PDRs from remote pldm endpoint.
109 * PDRs that need to be deleted.
114 * handles of PDRs tha
[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()); in TEST()
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.emplace_back(pdr1); in TEST()
H A Dsensor_manager_test.cpp139 termini[tid]->pdrs.push_back(pdr1); in TEST_F()
140 termini[tid]->pdrs.push_back(pdr2); in TEST_F()
/openbmc/pldm/common/
H A Dutils.cpp41 std::vector<std::vector<uint8_t>> pdrs; in findStateEffecterPDR() local
67 pdrs.emplace_back(std::move(effecter_pdr)); in findStateEffecterPDR()
82 return pdrs; in findStateEffecterPDR()
92 std::vector<std::vector<uint8_t>> pdrs; in findStateSensorPDR() local
118 pdrs.emplace_back(std::move(sensor_pdr)); in findStateSensorPDR()
135 return pdrs; in findStateSensorPDR()
593 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() local
594 for (auto pdr : pdrs) in findStateSensorId()
829 SensorPDRs pdrs; in getStateSensorPDRsByType() local
839 pdrs.emplace_back(outData, outData + size); in getStateSensorPDRsByType()
[all …]
/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
456 sensors/effecter/state PDRs (section 28.4, 28.6, 28.8, 28.11, 28.14, 28.15,
458 - The Fru info using FRU PDRs (section 28.22 of DSP0248 1.2.1).
459 - The other info using the others PDRs in section 28.x of DSP0248 1.2.1.
461 The above PDRs can also be configured in the JSON configuration files. When
465 [PDRs configuration files](https://github.com/openbmc/pldm/tree/master/configurations)
468 Terminus's PDRs or the Terminus' EM JSON configuration files. This
487 Sensor PDRs by PDR Repository commands (`GetPDRRepositoryInfo`, `GetPDR`) for
496 device uses PLDM for access only and doesn't support PDRs. The PDRs for the
[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/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()
325 PdrList pdrs{}; in fetchEffecterInfo() local
336 responseMsg.read(pdrs); in fetchEffecterInfo()
[all …]
/openbmc/openbmc-tools/pldm/
H A Dpdrdump.sh3 printf "Dumping PDRs to $pdrdump_file ..."
/openbmc/pldm/docs/
H A Dpdr_implementation.md3 While PLDM Platform Descriptor Records (PDRs) are mostly static information,
/openbmc/pldm/softoff/
H A Dsoftoff.hpp105 /** @brief Get effecterID from PDRs.
116 /** @brief Get VMM/SystemFirmware Sensor info from 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
/openbmc/pldm/libpldmresponder/examples/pdr/
H A Dsensor_pdr.json1 // This JSON is tied with BMC's PDRs. Each entry is used to identify a group of
/openbmc/pldm/libpldmresponder/
H A Dpdr.hpp20 * @param[in] pdrType - the type of PDRs
/openbmc/u-boot/arch/x86/include/asm/arch-quark/acpi/
H A Dsouthcluster.asl148 Name(PDRS, ResourceTemplate() {
160 Return (PDRS)

12