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/openpower-hw-diags/util/
H A Dpldm.cpp108 // get state sensor PDRs in fetchSensorInfo()
109 std::vector<std::vector<uint8_t>> pdrs{}; in fetchSensorInfo() local
110 if (!util::dbus::getStateSensorPdrs(pdrs, stateSetId)) in fetchSensorInfo()
115 // check for any PDRs available in fetchSensorInfo()
116 if (!pdrs.size()) in fetchSensorInfo()
118 trace::err("state sensor PDRs not present"); in fetchSensorInfo()
122 // find the offset of specified sensor withing PDRs in fetchSensorInfo()
125 reinterpret_cast<const pldm_state_sensor_pdr*>(pdrs.front().data()); in fetchSensorInfo()
154 for (auto& pdr : pdrs) in fetchSensorInfo()
186 // get state effecter PDRs in fetchEffecterInfo()
[all …]
H A Ddbus.hpp180 /** @brief Get list of state sensor PDRs
182 * @param[out] pdrList - list of PDRs
190 /** @brief Get list of state effecter PDRs
192 * @param[out] pdrList - list of PDRs
H A Ddbus.cpp467 /** @brief Get list of state effecter PDRs */
488 // request PDRs in getStateEffecterPdrs()
494 trace::err("failed to find state effecter PDRs"); in getStateEffecterPdrs()
502 /** @brief Get list of state sensor PDRs */
523 // request PDRs in getStateSensorPdrs()
529 trace::err("failed to find state sensor PDRs"); in getStateSensorPdrs()
/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
131 /** @brief Parse the PDRs stored in the member variable, pdrs.
158 /** @brief A list of PDRs fetched from Terminus */
159 std::vector<std::vector<uint8_t>> pdrs{}; member in pldm::platform_mc::Terminus
221 /** @brief Parse the numeric sensor PDRs
223 * @param[in] pdrData - the response PDRs from GetPDR command
229 /** @brief Parse the sensor Auxiliary name PDRs
231 * @param[in] pdrData - the response PDRs from GetPDR command
237 /** @brief Parse the Entity Auxiliary name PDRs
239 * @param[in] pdrData - the response PDRs from GetPDR command
[all …]
H A Dplatform_manager.cpp64 "Failed to fetch PDRs for terminus with TID: {TID}, error: {ERROR}", in initTerminus()
73 * Need terminus name from PDRs before updating Inventory object with in initTerminus()
258 terminus->pdrs.clear(); in getPDRs()
271 … "Failed to get PDRs for terminus {TID}, error: {RC}, first part of record handle {RECORD}", in getPDRs()
273 terminus->pdrs.clear(); in getPDRs()
280 terminus->pdrs.emplace_back(std::vector<uint8_t>( in getPDRs()
302 … "Failed to get PDRs for terminus {TID}, error: {RC}, get middle part of record handle {RECORD}", in getPDRs()
304 terminus->pdrs.clear(); in getPDRs()
314 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/pldm/platform-mc/test/
H A Dterminus_test.cpp90 t1.pdrs.emplace_back(pdr1); in TEST()
91 t1.pdrs.emplace_back(pdr2); in TEST()
107 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
205 t1.pdrs.emplace_back(pdr1); in TEST()
206 t1.pdrs.emplace_back(pdr2); in TEST()
226 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
325 t1.pdrs.emplace_back(pdr1); in TEST()
326 t1.pdrs.emplace_back(pdr2); in TEST()
347 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
379 t1.pdrs.emplace_back(pdr1); in TEST()
H A Dsensor_manager_test.cpp157 termini[tid]->pdrs.push_back(pdr1); in TEST_F()
158 termini[tid]->pdrs.push_back(pdr2); in TEST_F()
H A Dplatform_manager_test.cpp188 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
347 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
466 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
480 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
512 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
/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()
314 PdrList pdrs{}; in fetchEffecterInfo() local
325 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.cpp37 std::vector<std::vector<uint8_t>> pdrs; in findStateEffecterPDR() local
64 pdrs.emplace_back(std::move(effecter_pdr)); in findStateEffecterPDR()
79 return pdrs; in findStateEffecterPDR()
89 std::vector<std::vector<uint8_t>> pdrs; in findStateSensorPDR() local
116 pdrs.emplace_back(std::move(sensor_pdr)); in findStateSensorPDR()
133 return pdrs; in findStateSensorPDR()
535 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() local
536 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