/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | registry_test.cpp | 511 auto callouts = Registry::getCallouts(json, systemNames, ad); in TEST_F() local 512 EXPECT_EQ(callouts.size(), 4); in TEST_F() 513 EXPECT_EQ(callouts[0].priority, "high"); in TEST_F() 514 EXPECT_EQ(callouts[0].locCode, "P1-C1"); in TEST_F() 515 EXPECT_EQ(callouts[0].procedure, ""); in TEST_F() 516 EXPECT_EQ(callouts[0].symbolicFRU, ""); in TEST_F() 517 EXPECT_EQ(callouts[0].symbolicFRUTrusted, ""); in TEST_F() 518 EXPECT_EQ(callouts[1].priority, "low"); in TEST_F() 519 EXPECT_EQ(callouts[1].locCode, "P1"); in TEST_F() 520 EXPECT_EQ(callouts[1].procedure, ""); in TEST_F() [all …]
|
H A D | src_callouts_test.cpp | 46 Callouts callouts{stream}; in TEST() local 48 EXPECT_EQ(callouts.flattenedSize(), data.size()); in TEST() 49 EXPECT_EQ(callouts.callouts().size(), 2); in TEST() 52 EXPECT_TRUE(callouts.callouts().front()->fruIdentity()); in TEST() 53 EXPECT_FALSE(callouts.callouts().front()->pceIdentity()); in TEST() 54 EXPECT_FALSE(callouts.callouts().front()->mru()); in TEST() 56 EXPECT_TRUE(callouts.callouts().back()->fruIdentity()); in TEST() 57 EXPECT_TRUE(callouts.callouts().back()->pceIdentity()); in TEST() 58 EXPECT_TRUE(callouts.callouts().back()->mru()); in TEST() 64 callouts.flatten(newStream); in TEST() [all …]
|
H A D | service_indicators_test.cpp | 77 CalloutVector callouts; in TEST() local 78 callouts.push_back(std::move(callout)); in TEST() 80 EXPECT_EQ(lightPath.getLocationCodes(callouts), in TEST() 95 CalloutVector callouts; in TEST() local 96 callouts.push_back( in TEST() 100 EXPECT_EQ(lightPath.getLocationCodes(callouts), in TEST() 106 CalloutVector callouts; in TEST() local 107 callouts.push_back(std::make_unique<src::Callout>( in TEST() 110 EXPECT_EQ(lightPath.getLocationCodes(callouts), in TEST() 116 CalloutVector callouts; in TEST() local [all …]
|
H A D | src_test.cpp | 140 EXPECT_FALSE(src.callouts()); in TEST_F() 164 const auto& calloutsSection = src.callouts(); in TEST_F() 166 const auto& callouts = calloutsSection->callouts(); in TEST_F() local 167 EXPECT_EQ(callouts.size(), 2); in TEST_F() 170 EXPECT_TRUE(callouts.front()->fruIdentity()); in TEST_F() 171 EXPECT_FALSE(callouts.front()->pceIdentity()); in TEST_F() 172 EXPECT_FALSE(callouts.front()->mru()); in TEST_F() 174 EXPECT_TRUE(callouts.back()->fruIdentity()); in TEST_F() 175 EXPECT_TRUE(callouts.back()->pceIdentity()); in TEST_F() 176 EXPECT_TRUE(callouts.back()->mru()); in TEST_F() [all …]
|
H A D | device_callouts_test.cpp | 481 auto callouts = getCallouts( in TEST_F() local 491 EXPECT_EQ(callouts, expected); in TEST_F() 494 callouts = getI2CCallouts(14, 0x72, systemTypes); in TEST_F() 495 EXPECT_EQ(callouts, expected); in TEST_F() 516 auto callouts = getCallouts( in TEST_F() local 526 EXPECT_EQ(callouts, expected); in TEST_F() 540 auto callouts = getCallouts( in TEST_F() local 552 EXPECT_EQ(callouts, expected); in TEST_F() 566 auto callouts = in TEST_F() local 576 EXPECT_EQ(callouts, expected); in TEST_F()
|
H A D | pel_test.cpp | 876 ASSERT_TRUE(pel.primarySRC().value()->callouts()); in TEST_F() 877 auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() local 878 ASSERT_EQ(callouts.size(), 1); in TEST_F() 881 EXPECT_EQ(callouts[0]->priority(), 'H'); in TEST_F() 882 EXPECT_EQ(callouts[0]->locationCode(), "UXXX-P1"); in TEST_F() 884 auto& fru = callouts[0]->fruIdentity(); in TEST_F() 931 EXPECT_FALSE(pel.primarySRC().value()->callouts()); in TEST_F() 1022 ASSERT_TRUE(pel.primarySRC().value()->callouts()); in TEST_F() 1023 const auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() local 1024 ASSERT_EQ(callouts.size(), 2); in TEST_F() [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_path_callouts.pl | 252 my @callouts; 255 buildCallouts(\%allSegments, \@callouts); 257 printJSON(\@callouts); 351 my @callouts = getFRUPathCallouts($fruPath); 352 $segment{Callouts} = \@callouts; 422 my @callouts; 456 push @callouts, \%callout; 459 return @callouts; 486 my ($segments, $callouts) = @_; 489 buildBMCSingleSegmentCallouts($segments, $callouts); [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | device_callouts.cpp | 220 std::vector<Callout> callouts; in extractCallouts() local 261 callouts.push_back(c); in extractCallouts() 264 return callouts; in extractCallouts() 284 const auto& callouts = in calloutI2C() local 296 return extractCallouts(callouts, msg); in calloutI2C() 337 const auto& callouts = calloutJSON.at("FSI").at(links).at("Callouts"); in calloutFSI() local 344 return extractCallouts(callouts, msg); in calloutFSI() 374 auto& callouts = calloutJSON.at("FSI-I2C") in calloutFSII2C() local 390 return extractCallouts(callouts, msg); in calloutFSII2C() 417 auto& callouts = in calloutFSISPI() local [all …]
|
H A D | service_indicators.cpp | 65 const auto& calloutsObj = (*src)->callouts(); in activate() 67 if (calloutsObj && !calloutsObj->callouts().empty()) in activate() 69 const auto& callouts = calloutsObj->callouts(); in activate() local 73 auto locCodes = getLocationCodes(callouts); in activate() 102 const std::vector<std::unique_ptr<src::Callout>>& callouts) const in getLocationCodes() 116 for (const auto& callout : callouts) in getLocationCodes()
|
H A D | registry.cpp | 397 for (const auto& callouts : json) in findCalloutList() local 399 if (callouts.contains("System")) in findCalloutList() 402 callouts["System"].get<std::string>()) != in findCalloutList() 406 callouts["CalloutList"].begin(), in findCalloutList() 407 callouts["CalloutList"].end()); in findCalloutList() 413 if (callouts.contains("Systems")) in findCalloutList() 416 callouts["Systems"].get<std::vector<std::string>>(); in findCalloutList() 424 callouts["CalloutList"].begin(), in findCalloutList() 425 callouts["CalloutList"].end()); in findCalloutList() 435 callouts["CalloutList"].begin(), in findCalloutList() [all …]
|
H A D | pel.cpp | 98 nlohmann::json callouts; in PEL() local 110 callouts = getCalloutJSON(ffdcFiles); in PEL() 120 std::make_unique<SRC>(regEntry, additionalData, callouts, dataIface); in PEL() 183 openpower::pels::phal::createServiceActions(callouts, dataIface, plid()); in PEL() 503 nlohmann::json callouts; in getCalloutJSON() local 519 callouts = nlohmann::json::parse(jsonString); in getCalloutJSON() 524 return callouts; in getCalloutJSON() 536 if ((*pSRC)->callouts()) in isHwCalloutPresent() 538 for (auto& i : (*pSRC)->callouts()->callouts()) in isHwCalloutPresent() 739 if (!src->callouts()) in addAdDetailsForDIMMsCallout() [all …]
|
H A D | README.md | 12 - [Callouts](#callouts) 109 [here for details](#passing-callouts-in-with-the-additionaldata-property) 122 See [here for details](#passing-callouts-in-with-the-additionaldata-property) 126 This is used to pass in a device path to create callouts from. See 127 [here for details](#passing-callouts-in-with-the-additionaldata-property) 131 This is used to pass in an I2C bus and address to create callouts from. See 132 [here for details](#passing-callouts-in-with-the-additionaldata-property) 235 There are a few different ways to add callouts to a PEL. In all cases, the 236 callouts will be sorted from highest to lowest priority within the PEL after 239 ### Passing callouts in with the AdditionalData property [all …]
|
H A D | manager.cpp | 787 const auto& callouts = (*src)->callouts(); in getResolution() local 790 if (callouts) in getResolution() 792 const auto& entries = callouts->callouts(); in getResolution() 847 std::string callouts = getResolution(pel); in updateResolution() local 851 entryN->second->resolution(callouts, true); in updateResolution() 1067 const auto& callouts = (*src)->callouts(); in clearPowerThermalDeconfigFlag() local 1068 if (!callouts) in clearPowerThermalDeconfigFlag() 1073 for (const auto& callout : callouts->callouts()) in clearPowerThermalDeconfigFlag()
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | ucd90160.hpp | 229 return std::find(callouts.begin(), callouts.end(), callout) != in isPartCalledOut() 230 callouts.end(); in isPartCalledOut() 250 callouts.push_back(callout); in setPartCallout() 268 std::vector<PartCallout> callouts; member in phosphor::power::UCD90160
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | ucd90160.hpp | 229 return std::find(callouts.begin(), callouts.end(), callout) != in isPartCalledOut() 230 callouts.end(); in isPartCalledOut() 250 callouts.push_back(callout); in setPartCallout() 268 std::vector<PartCallout> callouts; member in witherspoon::power::UCD90160
|
/openbmc/phosphor-logging/ |
H A D | meson.build | 78 # Generate callouts-gen.hpp. 79 callouts_gen = custom_target('callouts-gen.hpp'.underscorify(), 81 'callouts/callouts.py', 82 'callouts/callouts-gen.mako.hpp', 85 output: 'callouts-gen.hpp', 188 'callouts/callout_test.cpp',
|
H A D | elog_meta.cpp | 30 auto callout = std::lower_bound(callouts.begin(), callouts.end(), in build() 32 if ((callouts.end() != callout) && in build()
|
H A D | elog_meta.hpp | 65 auto callout = std::lower_bound(callouts.begin(), callouts.end(), in build() 67 if ((callouts.end() != callout) && in build()
|
H A D | meson.options | 14 value: 'callouts/callouts-example.yaml',
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/logging/ |
H A D | phosphor-logging-callouts-example-native.bb | 4 PROVIDES += "virtual/phosphor-logging-callouts" 7 SRC_URI += "file://callouts.yaml" 18 install callouts.yaml ${DEST}
|
H A D | phosphor-logging-callouts-mrw-native.bb | 8 PROVIDES += "virtual/phosphor-logging-callouts" 24 -o ${DEST}/callouts.yaml
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/logging/ |
H A D | romulus-phosphor-logging-callouts-native.bb | 9 SRC_URI += "file://callouts.yaml" 11 PROVIDES += "virtual/phosphor-logging-callouts" 19 install callouts.yaml ${DEST}
|
/openbmc/phosphor-logging/callouts/ |
H A D | callouts-gen.mako.hpp | 2 ## callouts-gen.hpp file 15 constexpr auto callouts = variable
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-mrw.inc | 15 PREFERRED_PROVIDER_virtual/phosphor-logging-callouts:df-mrw ?= "phosphor-logging-callouts-mrw-nativ…
|
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ |
H A D | README.md | 144 severity or if there are any callouts. As such, this is an optional field and if 247 [passing in the callouts via JSON](../README.md#callouts). 322 The callout fields allow one to specify the PEL callouts (either a hardware FRU, 324 These callouts can vary based on system type, as well as a user specified 328 callouts in the registry. 330 There is room for up to 10 callouts in a PEL. 332 The callouts based on system type can be added in two ways, by using either a 336 the callouts specific to that system under the `System`. 338 Suppose if multiple systems have same callouts, the `Systems` key can be used. 340 callouts common to those systems can be listed under the key. [all …]
|