/openbmc/openpower-hw-diags/analyzer/ |
H A D | service_data.cpp | 9 callout::Priority i_priority, bool i_guard) in calloutTarget() 18 ffdc["Priority"] = callout::getStringFFDC(i_priority); in calloutTarget() 27 const callout::BusType& i_busType, in calloutConnected() 28 callout::Priority i_priority, bool i_guard) in calloutConnected() 42 ffdc["Priority"] = callout::getStringFFDC(i_priority); in calloutConnected() 51 const callout::BusType& i_busType, in calloutBus() 52 callout::Priority i_priority, bool i_guard) in calloutBus() 73 ffdc["Priority"] = callout::getStringFFDC(i_priority); in calloutBus() 81 void ServiceData::calloutClock(const callout::ClockType& i_clockType, in calloutClock() 82 callout::Priority i_priority, bool) in calloutClock() [all …]
|
H A D | service_data.hpp | 80 callout::GuardType queryGuardPolicy() const in queryGuardPolicy() 84 return callout::GuardType::UNRECOVERABLE; in queryGuardPolicy() 88 return callout::GuardType::PREDICTIVE; in queryGuardPolicy() 91 return callout::GuardType::NONE; in queryGuardPolicy() 100 void calloutTarget(pdbg_target* i_target, callout::Priority i_priority, 111 const callout::BusType& i_busType, 112 callout::Priority i_priority, bool i_guard); 121 void calloutBus(pdbg_target* i_rxTarget, const callout::BusType& i_busType, 122 callout::Priority i_priority, bool i_guard); 130 void calloutClock(const callout::ClockType& i_clockType, [all …]
|
H A D | resolution.hpp | 39 callout::Priority i_priority, bool i_guard) : in HardwareCalloutResolution() 49 const callout::Priority iv_priority; 71 ConnectedCalloutResolution(const callout::BusType& i_busType, in ConnectedCalloutResolution() 73 callout::Priority i_priority, bool i_guard) : in ConnectedCalloutResolution() 80 const callout::BusType iv_busType; 88 const callout::Priority iv_priority; 113 BusCalloutResolution(const callout::BusType& i_busType, in BusCalloutResolution() 115 callout::Priority i_priority, bool i_guard) : in BusCalloutResolution() 122 const callout::BusType iv_busType; 130 const callout::Priority iv_priority; [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | src_callout_test.cpp | 46 Callout callout{stream}; in TEST() local 48 EXPECT_EQ(callout.flattenedSize(), data.size()); in TEST() 49 EXPECT_EQ(callout.priority(), 'H'); in TEST() 50 EXPECT_EQ(callout.locationCode(), "U12-P1"); in TEST() 53 EXPECT_TRUE(callout.fruIdentity()); in TEST() 54 EXPECT_EQ(callout.fruIdentity()->getSN(), "123456789ABC"); in TEST() 56 EXPECT_TRUE(callout.pceIdentity()); in TEST() 57 EXPECT_EQ(callout.pceIdentity()->enclosureName(), "PCENAME12"); in TEST() 59 EXPECT_TRUE(callout.mru()); in TEST() 60 EXPECT_EQ(callout.mru()->mrus().size(), 4); in TEST() [all …]
|
H A D | src_callouts_test.cpp | 32 auto callout = srcDataFactory(TestSRCType::calloutStructureA); in TEST() local 33 data.insert(data.end(), callout.begin(), callout.end()); in TEST() 35 callout = srcDataFactory(TestSRCType::calloutStructureB); in TEST() 36 data.insert(data.end(), callout.begin(), callout.end()); in TEST() 75 auto callout = srcDataFactory(TestSRCType::calloutStructureA); in TEST() local 76 data.insert(data.end(), callout.begin(), callout.end()); in TEST() 78 callout = srcDataFactory(TestSRCType::calloutStructureB); in TEST() 79 data.insert(data.end(), callout.begin(), callout.end()); in TEST() 105 auto callout = std::make_unique<Callout>( in TEST() local 107 auto calloutSize = callout->flattenedSize(); in TEST() [all …]
|
/openbmc/openpower-hw-diags/test/ |
H A D | test-resolution.cpp | 30 proc_str, callout::Priority::HIGH, false); in TEST() 33 omi_str, callout::Priority::MED_A, true); in TEST() 36 core_str, callout::Priority::MED, true); in TEST() 39 callout::Procedure::NEXTLVL, callout::Priority::LOW); in TEST() 42 callout::ClockType::OSC_REF_CLOCK_1, callout::Priority::LOW, false); in TEST() 69 std::pair<callout::SrcSubsystem, callout::Priority> subsys = { in TEST() 70 callout::SrcSubsystem::PROCESSOR_FRU, callout::Priority::HIGH}; in TEST() 73 subsys = {callout::SrcSubsystem::PROCESSOR_FRU, callout::Priority::HIGH}; in TEST() 148 omi_str, callout::Priority::MED_A, true); in TEST() 158 std::pair<callout::SrcSubsystem, callout::Priority> subsys = { in TEST() [all …]
|
/openbmc/openpower-host-ipmi-oem/ |
H A D | elog-errors.hpp | 13 namespace sdbusplus::error::org::open_power::common::callout namespace 29 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 33 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 37 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 41 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 45 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 98 namespace org::open_power::common::callout namespace 130 phosphor::logging::org::open_power::common::callout::Procedure; 139 sdbusplus::error::org::open_power::common::callout::Procedure> 141 using type = phosphor::logging::org::open_power::common::callout::Procedure; [all …]
|
/openbmc/ibm-logging/test/ |
H A D | test_callout.cpp | 60 auto callout = std::make_unique<Callout>(bus, objectPath, calloutPath, in TEST_F() local 62 callout->serialize(persistDir); in TEST_F() 69 auto callout = std::make_unique<Callout>(bus, objectPath, id, ts); in TEST_F() local 71 ASSERT_EQ(callout->deserialize(persistDir), true); in TEST_F() 73 ASSERT_EQ(callout->id(), id); in TEST_F() 74 ASSERT_EQ(callout->ts(), ts); in TEST_F() 75 ASSERT_EQ(callout->path(), calloutPath); in TEST_F() 76 ASSERT_EQ(callout->buildDate(), in TEST_F() 78 ASSERT_EQ(callout->manufacturer(), in TEST_F() 80 ASSERT_EQ(callout->model(), std::get<std::string>(assetProps["Model"])); in TEST_F() [all …]
|
/openbmc/ibm-logging/ |
H A D | callout.cpp | 47 void save(Archive& archive, const Callout& callout, const std::uint32_t version) in save() argument 49 archive(callout.id(), callout.ts(), callout.path(), callout.buildDate(), in save() 50 callout.manufacturer(), callout.model(), callout.partNumber(), in save() 51 callout.serialNumber()); in save() 62 void load(Archive& archive, Callout& callout, const std::uint32_t version) in load() argument 75 callout.id(id); in load() 76 callout.ts(timestamp); in load() 77 callout.path(inventoryPath); in load() 78 callout.buildDate(build); in load() 79 callout.manufacturer(mfgr); in load() [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_path_callouts.pl | 429 my %callout; 436 ($callout{MRU}) = $path =~ /\((.+)\)/; 448 $callout{Priority} = $priority; 454 $callout{Name} = $path; 456 push @callouts, \%callout; 507 my $callout = buildSingleSegmentCallout($segment); 509 if (defined $callout) 511 push @{$callouts}, $callout; 561 for my $callout (@$callouts) 563 if ($callout->type() ne "FSI") [all …]
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | p10-plugins.cpp | 46 (1 < pllList.size()) ? callout::Priority::HIGH : callout::Priority::MED; in pll_unlock() 49 auto clockCallout = (0 == i_instance) ? callout::ClockType::OSC_REF_CLOCK_0 in pll_unlock() 50 : callout::ClockType::OSC_REF_CLOCK_1; in pll_unlock() 58 callout::Priority::MED, false); in pll_unlock() 68 io_servData.calloutPart(callout::PartType::PNOR, callout::Priority::MED); in lpc_timeout_callout() 75 io_servData.calloutClock(callout::ClockType::OSC_REF_CLOCK_0, in lpc_timeout_callout() 76 callout::Priority::MED, false); in lpc_timeout_callout() 81 io_servData.calloutClock(callout::ClockType::OSC_REF_CLOCK_1, in lpc_timeout_callout() 82 callout::Priority::MED, false); in lpc_timeout_callout() 90 io_servData.calloutTarget(target, callout::Priority::MED, false); in lpc_timeout_callout() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Common/Callout/ |
H A D | README.md | 5 A callout is typically an indication of a faulty hardware component in a system. 6 In OpenBMC, a callout is defined as any other error, via a YAML file. An example 7 would be `xyz.openbmc_project.Error.Callout.IIC`, to indicate an IIC callout. 11 the OpenBMC error handling component to map such a callout to actual field 16 An OpenBMC error has associated metadata, the same is true for a callout. Such 17 metadata would be defined in the callout YAML interface. Here is an example (for 29 An application wanting to add an IIC callout will have to provide values for the 31 figure out that this is in fact an IIC callout. 33 A callout is typically associated with an error log. For eg, 34 `xyz.openbmc_project.Error.Foo` may want to add an IIC callout. This is [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | callouts.cpp | 47 for (auto& callout : _callouts) in flatten() local 49 callout->flatten(pel); in flatten() 53 void Callouts::addCallout(std::unique_ptr<Callout> callout) in addCallout() argument 58 auto it = std::ranges::find_if(_callouts, [&callout](const auto& c) { in addCallout() 59 return *callout == *c; in addCallout() 67 if (*callout > **it) in addCallout() 69 (*it)->setPriority(callout->priority()); in addCallout() 78 _callouts.push_back(std::move(callout)); in addCallout()
|
H A D | service_indicators.cpp | 116 for (const auto& callout : callouts) in getLocationCodes() local 122 firstCalloutPriority = callout->priority(); in getLocationCodes() 128 isHardwareCallout(*callout)) in getLocationCodes() 130 locCodes.push_back(callout->locationCode()); in getLocationCodes() 149 if (callout->priority() != firstCalloutPriority) in getLocationCodes() 156 if (!isHardwareCallout(*callout)) in getLocationCodes() 162 locCodes.push_back(callout->locationCode()); in getLocationCodes() 177 bool LightPath::isHardwareCallout(const src::Callout& callout) const in isHardwareCallout() 179 const auto& fruIdentity = callout.fruIdentity(); in isHardwareCallout() 182 return (callout.locationCodeSize() != 0) && in isHardwareCallout()
|
H A D | src.cpp | 617 const auto& callout = _callouts->callouts(); in getCallouts() local 620 jsonInsert(printOut, "Callout Count", std::to_string(callout.size()), 2); in getCallouts() 622 for (auto& entry : callout) in getCallouts() 880 std::unique_ptr<src::Callout> callout; in addInventoryCallout() local 901 callout = in addInventoryCallout() 911 callout = std::make_unique<src::Callout>( in addInventoryCallout() 934 if (callout) in addInventoryCallout() 937 _callouts->addCallout(std::move(callout)); in addInventoryCallout() 983 for (const auto& callout : callouts) in addRegistryCallouts() local 985 addRegistryCallout(callout, dataIface, trustedSymbolicFRUInvPath); in addRegistryCallouts() [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/eventlog/ |
H A D | test_event_association.robot | 2 Documentation REST test Error callout association. 28 [Documentation] Create error log callout and verify via REST. 56 [Documentation] Create test error callout and verify Associations. 62 # "callout", 71 List Should Contain Value ${resp.json()["data"]["Associations"][0]} callout 96 # "callout", 102 # "/xyz/openbmc_project/logging/entry/1/callout": { 111 ${resp}= OpenBMC Get Request ${elog_entry[0]}/callout 133 # "callout", 139 # "/xyz/openbmc_project/logging/entry/1/callout": { [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | elog-errors.hpp | 69 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 73 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 77 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 81 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 85 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace 359 namespace xyz::openbmc_project::common::callout namespace 406 using Device = phosphor::logging::xyz::openbmc_project::common::callout::Device; 415 sdbusplus::error::xyz::openbmc_project::common::callout::Device> 418 phosphor::logging::xyz::openbmc_project::common::callout::Device; 422 namespace xyz::openbmc_project::common::callout namespace [all …]
|
/openbmc/openpower-hw-diags/analyzer/ras-data/ |
H A D | ras-data-parser.cpp | 330 std::tuple<callout::BusType, std::string> RasDataParser::parseBus( in parseBus() 336 static const std::map<std::string, callout::BusType> m = in parseBus() 338 {"SMP_BUS", callout::BusType::SMP_BUS}, in parseBus() 339 {"OMI_BUS", callout::BusType::OMI_BUS}, in parseBus() 431 static const std::map<std::string, callout::ClockType> m = in parseAction() 433 {"OSC_REF_CLOCK_0", callout::ClockType::OSC_REF_CLOCK_0}, in parseAction() 434 {"OSC_REF_CLOCK_1", callout::ClockType::OSC_REF_CLOCK_1}, in parseAction() 435 {"TOD_CLOCK", callout::ClockType::TOD_CLOCK}, in parseAction() 448 static const std::map<std::string, callout::Procedure> m = in parseAction() 450 {"LEVEL2", callout::Procedure::NEXTLVL}, in parseAction() [all …]
|
/openbmc/openbmc-test-automation/openpower/ras/ |
H A D | test_host_ras.robot | 30 [Documentation] Verify recoverable callout handling for MCACALIFIR with 40 [Documentation] Verify recoverable callout handling for MCACALIFIR with 50 [Documentation] Verify unrecoverable callout handling for MCACALIFIR. 61 [Documentation] Verify recoverable callout handling for mci with 71 [Documentation] Verify unrecoverable callout handling for mci. 82 [Documentation] Verify recoverable callout handling for CXA with 92 [Documentation] Verify recoverable callout handling for CXA with 102 [Documentation] Verify unrecoverable callout handling for CXAFIR. 114 [Documentation] Verify recoverable callout handling for OBUS with 126 [Documentation] Verify recoverable callout handling for NPU0 with [all …]
|
H A D | test_bmc_ras.robot | 33 [Documentation] Verify recoverable callout handling for MCACALIFIR 43 [Documentation] Verify recoverable callout handling for MCACALIFIR 53 [Documentation] Verify unrecoverable callout handling for MCACALIFIR 65 [Documentation] Verify recoverable callout handling for MCI 75 [Documentation] Verify unrecoverable callout handling for mci 88 [Documentation] Verify recoverable callout handling for CXA 98 [Documentation] Verify recoverable callout handling for CXA 108 [Documentation] Verify unrecoverable callout handling for CXAFIR 120 [Documentation] Verify recoverable callout handling for OBUS 132 [Documentation] Verify recoverable callout handling for NPU0 [all …]
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | ucd90160.hpp | 71 void gpuPGOODError(const std::string& callout); 78 void gpuOverTempError(const std::string& callout); 85 void memGoodError(const std::string& callout); 227 inline bool isPartCalledOut(const PartCallout& callout) const in isPartCalledOut() 229 return std::find(callouts.begin(), callouts.end(), callout) != in isPartCalledOut() 248 inline void setPartCallout(const PartCallout& callout) in setPartCallout() argument 250 callouts.push_back(callout); in setPartCallout()
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | ucd90160.hpp | 71 void gpuPGOODError(const std::string& callout); 78 void gpuOverTempError(const std::string& callout); 85 void memGoodError(const std::string& callout); 227 inline bool isPartCalledOut(const PartCallout& callout) const in isPartCalledOut() 229 return std::find(callouts.begin(), callouts.end(), callout) != in isPartCalledOut() 248 inline void setPartCallout(const PartCallout& callout) in setPartCallout() argument 250 callouts.push_back(callout); in setPartCallout()
|
/openbmc/phosphor-logging/ |
H A D | elog_meta.cpp | 19 void build<xyz::openbmc_project::common::callout::Device::CALLOUT_DEVICE_PATH>( in build() 30 auto callout = std::lower_bound(callouts.begin(), callouts.end(), in build() local 32 if ((callouts.end() != callout) && in build() 33 !std::strcmp((iter->second).c_str(), std::get<0>(*callout))) in build() 37 std::string(INVENTORY_ROOT) + std::get<1>(*callout))); in build() 44 xyz::openbmc_project::common::callout::Inventory::CALLOUT_INVENTORY_PATH>( in build()
|
H A D | elog_meta.hpp | 65 auto callout = std::lower_bound(callouts.begin(), callouts.end(), in build() local 67 if ((callouts.end() != callout) && in build() 68 !std::strcmp((iter->second).c_str(), std::get<0>(*callout))) in build() 73 "callout", "fault", std::string(ROOT) + std::get<1>(*callout))); in build() 85 void build<xyz::openbmc_project::common::callout::Device::CALLOUT_DEVICE_PATH>( 91 xyz::openbmc_project::common::callout::Inventory::CALLOUT_INVENTORY_PATH>(
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | resolve_errors.hpp | 36 explicit ResolveCallout(const std::string& callout) : callout(callout) {} in ResolveCallout() argument 57 std::string callout; member in phosphor::dbus::monitoring::ResolveCallout
|