Home
last modified time | relevance | path

Searched full:callout (Results 1 – 25 of 238) sorted by relevance

12345678910

/openbmc/phosphor-logging/test/openpower-pels/
H A Dsrc_callout_test.cpp16 #include "extensions/openpower-pels/callout.hpp"
24 // Unflatten the callout section with all three substructures
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()
[all …]
H A Dsrc_callouts_test.cpp32 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()
51 // spot check that each callout has the right substructures in TEST()
70 // Start out with a valid 2 callout object, then truncate it. 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()
[all …]
H A Dservice_indicators_test.cpp23 using CalloutVector = std::vector<std::unique_ptr<src::Callout>>;
73 auto callout = std::make_unique<src::Callout>( in TEST() local
78 callouts.push_back(std::move(callout)); in TEST()
93 // Regular hardware callout in TEST()
97 std::make_unique<src::Callout>(CalloutPriority::high, "U27-P1", in TEST()
104 // Symbolic FRU with trusted loc code callout in TEST()
107 callouts.push_back(std::make_unique<src::Callout>( in TEST()
114 // Symbolic FRU without trusted loc code callout in TEST()
117 callouts.push_back(std::make_unique<src::Callout>( in TEST()
124 // Procedure callout in TEST()
[all …]
/openbmc/openpower-hw-diags/analyzer/
H A Dservice_data.cpp9 callout::Priority i_priority, bool i_guard) in calloutTarget()
11 // Add the target to the callout list. in calloutTarget()
14 // Add the callout FFDC. in calloutTarget()
16 ffdc["Callout Type"] = "Hardware Callout"; 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()
33 // Callout the TX endpoint. in calloutConnected()
36 // Add the callout FFDC. in calloutConnected()
38 ffdc["Callout Type"] = "Connected Callout"; in calloutConnected()
[all …]
H A Dservice_data.hpp4 #include <analyzer/callout.hpp>
57 * callout list (unit paths, bus types, etc.). */
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()
95 * @brief Add callout for a pdbg_target.
96 * @param i_target The chip or unit target to add to the callout list.
97 * @param i_priority The callout priority.
100 void calloutTarget(pdbg_target* i_target, callout::Priority i_priority,
[all …]
H A Dresolution.hpp27 /** @brief Resolves a hardware callout service event. */
35 * @param i_priority The callout priority.
39 callout::Priority i_priority, bool i_guard) : in HardwareCalloutResolution()
48 /** The callout priority. */
49 const callout::Priority iv_priority;
58 /** @brief Resolution to callout a connected chip/target. */
68 * @param i_priority The callout priority.
69 * @param i_guard The guard type for this callout.
71 ConnectedCalloutResolution(const callout::BusType& i_busType, in ConnectedCalloutResolution()
73 callout::Priority i_priority, bool i_guard) : in ConnectedCalloutResolution()
[all …]
/openbmc/openpower-hw-diags/test/
H A Dtest-resolution.cpp30 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 …]
H A Dtest-pll-unlock.cpp44 // Callout list in TEST()
62 // Callout FFDC in TEST()
66 "Callout Type": "Clock Callout", in TEST()
71 "Callout Type": "Hardware Callout", in TEST()
111 // Callout list in TEST()
135 // Callout FFDC in TEST()
139 "Callout Type": "Clock Callout", in TEST()
144 "Callout Type": "Hardware Callout", in TEST()
150 "Callout Type": "Hardware Callout", in TEST()
180 // Callout list in TEST()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Common/Callout/
H A DREADME.md5 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
18 xyz.openbmc_project.Error.Callout.IIC) :
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,
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dcallout.hpp17 * @class Callout
19 * Represents a single FRU callout in the SRC's FRU callout
24 * The callout priority and location code are in this structure.
27 * in a single callout:
35 class Callout class
39 * @brief Which callout substructures are included.
51 Callout() = delete;
52 ~Callout() = default;
53 Callout(const Callout&) = delete;
54 Callout& operator=(const Callout&) = delete;
[all …]
H A Dcallouts.cpp38 _callouts.emplace_back(new Callout(pel)); in Callouts()
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
57 // Check if there is already a callout for this FRU in addCallout()
58 auto it = std::ranges::find_if(_callouts, [&callout](const auto& c) { in addCallout()
59 return *callout == *c; in addCallout()
62 // If the callout already exists, but the new one has a higher in addCallout()
63 // priority, change the existing callout's priority to this in addCallout()
67 if (*callout > **it) in addCallout()
[all …]
H A Dcallout.cpp16 #include "callout.hpp"
31 Callout::Callout(Stream& pel) in Callout() function in openpower::pels::src::Callout
73 lg2::error("Invalid Callout subsection type {CALLOUT_TYPE}", in Callout()
75 throw std::runtime_error("Invalid Callout subsection type"); in Callout()
81 Callout::Callout(CalloutPriority priority, const std::string& locationCode, in Callout() function in openpower::pels::src::Callout
84 Callout(priority, locationCode, partNumber, ccin, serialNumber, in Callout()
88 Callout::Callout(CalloutPriority priority, const std::string& locationCode, in Callout() function in openpower::pels::src::Callout
111 Callout::Callout(CalloutPriority priority, const std::string& procedure, in Callout() function in openpower::pels::src::Callout
125 Callout::Callout(CalloutPriority priority, const std::string& symbolicFRU, in Callout() function in openpower::pels::src::Callout
141 void Callout::setLocationCode(const std::string& locationCode) in setLocationCode()
[all …]
H A Ddevice_callouts.cpp58 lg2::info("Found device callout debug file"); in getJSONFilename()
75 "No JSON dev path callout file for this system"); in getJSONFilename()
82 * @brief Reads the callout JSON into an object based on the
202 * @brief Pull the callouts out of the JSON callout array passed in
204 * Create a vector of Callout objects based on the JSON.
206 * This will also fill in the 'debug' member on the first callout
213 * @param[in] debug - The debug message to add to the first callout
215 * @return std::vector<Callout> - The Callout objects
217 std::vector<Callout> extractCallouts(const nlohmann::json& calloutJSON, in extractCallouts()
220 std::vector<Callout> callouts; in extractCallouts()
[all …]
/openbmc/openbmc-test-automation/redfish/systems/eventlog/
H A Dtest_event_association.robot2 Documentation REST test Error callout association.
27 Create Test Error Callout And Verify
28 [Documentation] Create error log callout and verify via REST.
31 Create Test Error With Callout
32 Verify Test Error Log And Callout
35 Create Test Error Callout And Verify AdditionalData
36 [Documentation] Create Test Error Callout And Verify AdditionalData.
47 Create Test Error With Callout
55 Create Test Error Callout And Verify Associations
56 [Documentation] Create test error callout and verify Associations.
[all …]
/openbmc/ibm-logging/
H A Dcallout.cpp17 #include "callout.hpp"
30 CEREAL_CLASS_VERSION(ibm::logging::Callout, CALLOUT_CLASS_VERSION);
43 * @param[in] callout - the object to save
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()
58 * @param[in] callout - the callout object to restore
62 void load(Archive& archive, Callout& callout, const std::uint32_t version) in load() argument
75 callout.id(id); in load()
[all …]
H A Dcallout.hpp17 * @class Callout
19 * This class provides information about a callout by utilizing the
25 class Callout : public CalloutObject class
28 Callout() = delete;
29 Callout(const Callout&) = delete;
30 Callout& operator=(const Callout&) = delete;
31 Callout(Callout&&) = default;
32 Callout& operator=(Callout&&) = default;
33 ~Callout() = default;
42 * @param[in] inventoryPath - inventory path of the callout
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/power-sequencer/swift/
H A Ducd90160.yaml63 callout: /system/chassis/motherboard/gv100card0
66 callout: /system/chassis/motherboard/gv100card1
69 callout: /system/chassis/motherboard/gv100card2
72 callout: /system/chassis/motherboard/gv100card3
83 callout: /system/chassis/motherboard/gv100card0
86 callout: /system/chassis/motherboard/gv100card1
89 callout: /system/chassis/motherboard/gv100card2
92 callout: /system/chassis/motherboard/gv100card3
103 callout: /system/chassis/motherboard/dimm4
106 callout: /system/chassis/motherboard/dimm3
[all …]
/openbmc/openbmc-test-automation/openpower/ras/
H A Dtest_host_ras.robot29 Verify Recoverable Callout Handling For MCA With Threshold 1
30 [Documentation] Verify recoverable callout handling for MCACALIFIR with
39 Verify Recoverable Callout Handling For MCA With Threshold 32
40 [Documentation] Verify recoverable callout handling for MCACALIFIR with
49 Verify Unrecoverable Callout Handling For MCA
50 [Documentation] Verify unrecoverable callout handling for MCACALIFIR.
60 Verify Recoverable Callout Handling For MCI With Threshold 1
61 [Documentation] Verify recoverable callout handling for mci with
70 Verify Unrecoverable Callout Handling For MCI
71 [Documentation] Verify unrecoverable callout handling for mci.
[all …]
H A Dtest_bmc_ras.robot32 Verify Pdbg Recoverable Callout Handling For MCA With Threshold 1
33 [Documentation] Verify recoverable callout handling for MCACALIFIR
42 Verify Pdbg Recoverable Callout Handling For MCA With Threshold 32
43 [Documentation] Verify recoverable callout handling for MCACALIFIR
52 Verify Pdbg Unrecoverable Callout Handling For MCA
53 [Documentation] Verify unrecoverable callout handling for MCACALIFIR
64 Verify Pdbg Recoverable Callout Handling For MCI With Threshold 1
65 [Documentation] Verify recoverable callout handling for MCI
74 Verify Pdbg Unrecoverable Callout Handling For MCI
75 [Documentation] Verify unrecoverable callout handling for mci
[all …]
H A Dtest_host_boot_ras.robot29 Verify Pdbg Recoverable Callout Handling For MCA During Host Boot
31 [Documentation] Verify recoverable callout handling for MCACALIFIR
43 Verify Pdbg Recoverable Callout Handling For MCI During Host Boot
44 [Documentation] Verify recoverable callout handling for MCI
55 Verify Pdbg Recoverable Callout Handling For NXDMAENG During Host Boot
56 [Documentation] Verify recoverable callout handling for NXDMAENG
69 Verify Pdbg Recoverable Callout Handling For L2FIR During Host Boot
70 [Documentation] Verify recoverable callout handling for L2FIR
84 Verify Pdbg Recoverable Callout Handling For OCC During Host Boot
85 [Documentation] Verify recoverable callout handling for OCCFIR
[all …]
/openbmc/openpower-host-ipmi-oem/
H A Delog-errors.hpp13 namespace sdbusplus::error::org::open_power::common::callout namespace
16 } // namespace sdbusplus::error::org::open_power::common::callout
29 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace
32 } // namespace sdbusplus::error::xyz::openbmc_project::common::callout
33 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace
36 } // namespace sdbusplus::error::xyz::openbmc_project::common::callout
37 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace
40 } // namespace sdbusplus::error::xyz::openbmc_project::common::callout
41 namespace sdbusplus::error::xyz::openbmc_project::common::callout namespace
44 } // namespace sdbusplus::error::xyz::openbmc_project::common::callout
[all …]
/openbmc/openpower-hw-diags/analyzer/plugins/
H A Dp10-plugins.cpp14 * @brief Adds all clocks/chips reporting PLL unlock attentions to the callout
20 * callout priority is medium.
43 // The clock callout priority is dependent on the number of chips with PLL in pll_unlock()
46 (1 < pllList.size()) ? callout::Priority::HIGH : callout::Priority::MED; in pll_unlock()
48 // Callout the clock. 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()
53 // Callout the processors connected to this clock that are reporting PLL in pll_unlock()
54 // unlock attentions. Always a medium callout and no guarding. in pll_unlock()
58 callout::Priority::MED, false); in pll_unlock()
[all …]
/openbmc/ibm-logging/test/
H A Dtest_callout.cpp16 #include "callout.hpp"
49 std::string objectPath{"/callout/path/0"}; in TEST_F()
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()
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_path_callouts.pl3 # This script is used for generating callout lists from the MRW for devices
7 # file organized into sections for each callout type, with keys based on the
49 # Callout object
53 package Callout; package
93 our @ISA = qw(Callout);
118 our @ISA = qw(Callout);
136 our @ISA = qw(Callout);
157 our @ISA = qw(Callout);
190 our @ISA = qw(Callout);
429 my %callout;
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/power-sequencer/witherspoon/
H A Ducd90160.yaml62 callout: /system/chassis/motherboard/gv100card0
65 callout: /system/chassis/motherboard/gv100card1
68 callout: /system/chassis/motherboard/gv100card2
71 callout: /system/chassis/motherboard/gv100card3
74 callout: /system/chassis/motherboard/gv100card4
77 callout: /system/chassis/motherboard/gv100card5
88 callout: /system/chassis/motherboard/gv100card0
91 callout: /system/chassis/motherboard/gv100card1
94 callout: /system/chassis/motherboard/gv100card2
97 callout: /system/chassis/motherboard/gv100card3
[all …]

12345678910