Home
last modified time | relevance | path

Searched refs:procTarget (Results 1 – 18 of 18) sorted by relevance

/openbmc/openpower-proc-control/extensions/phal/
H A Dpdbg_utils.cpp22 pdbg_target* getFsiTarget(struct pdbg_target* procTarget) in getFsiTarget() argument
25 pdbg_for_each_target("fsi", procTarget, fsiTarget) in getFsiTarget()
34 entry("PROC_TARGET_PATH=%s", pdbg_target_path(procTarget))); in getFsiTarget()
41 uint32_t probeTarget(struct pdbg_target* procTarget) in probeTarget() argument
44 pdbg_for_each_target("pib", procTarget, pibTarget) in probeTarget()
67 uint32_t getCFAM(struct pdbg_target* procTarget, const uint32_t reg, in getCFAM() argument
70 pdbg_target* fsiTarget = getFsiTarget(procTarget); in getCFAM()
77 auto rc = probeTarget(procTarget); in getCFAM()
96 uint32_t putCFAM(struct pdbg_target* procTarget, const uint32_t reg, in putCFAM() argument
99 pdbg_target* fsiTarget = getFsiTarget(procTarget); in putCFAM()
[all …]
H A Dpdbg_utils.hpp24 uint32_t getCFAM(struct pdbg_target* procTarget, const uint32_t reg,
36 uint32_t putCFAM(struct pdbg_target* procTarget, const uint32_t reg,
46 pdbg_target* getFsiTarget(struct pdbg_target* procTarget);
58 uint32_t probeTarget(struct pdbg_target* procTarget);
H A Dclock_logger.cpp84 struct pdbg_target* procTarget; in createClockDataLog() local
86 pdbg_for_each_class_target("proc", procTarget) in createClockDataLog()
88 if (DT_GET_PROP(ATTR_HWAS_STATE, procTarget, hwasState)) in createClockDataLog()
91 pdbg_target_path(procTarget)); in createClockDataLog()
99 auto index = std::to_string(pdbg_target_index(procTarget)); in createClockDataLog()
117 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in createClockDataLog()
122 "TARGET", pdbg_target_path(procTarget), "ERROR", e); in createClockDataLog()
130 if (DT_GET_PROP(ATTR_EC, procTarget, ecVal)) in createClockDataLog()
143 addCFAMData(procTarget, clockDataLog); in createClockDataLog()
H A Dphal_error.cpp289 struct pdbg_target* procTarget; in processNonFunctionalBootProc() local
290 pdbg_for_each_class_target("proc", procTarget) in processNonFunctionalBootProc()
292 if (openpower::phal::isPrimaryProc(procTarget)) in processNonFunctionalBootProc()
294 procTarget = nullptr; in processNonFunctionalBootProc()
297 if (procTarget == nullptr) in processNonFunctionalBootProc()
883 struct pdbg_target* procTarget; in processSbeBootError() local
884 pdbg_for_each_class_target("proc", procTarget) in processSbeBootError()
888 procTarget = nullptr; in processSbeBootError()
891 if (procTarget == nullptr) in processSbeBootError()
913 sbeError = captureFFDC(procTarget); in processSbeBootError()
[all …]
H A Dcommon_utils.cpp50 bool isPrimaryProc(struct pdbg_target* procTarget) in isPrimaryProc() argument
55 if (DT_GET_PROP(ATTR_PROC_MASTER_TYPE, procTarget, type)) in isPrimaryProc()
H A Dcreate_pel.cpp48 static void getSBECallout(struct pdbg_target* procTarget, in getSBECallout() argument
65 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in getSBECallout()
76 pdbg_target_path(procTarget), e.what()) in getSBECallout()
136 struct pdbg_target* procTarget, in createSbeErrorPEL() argument
188 getSBECallout(procTarget, jsonCalloutDataList); in createSbeErrorPEL()
H A Dcommon_utils.hpp32 bool isPrimaryProc(struct pdbg_target* procTarget);
H A Dcreate_pel.hpp50 struct pdbg_target* procTarget,
/openbmc/openpower-proc-control/procedures/phal/
H A Dthread_stopall.cpp52 struct pdbg_target* procTarget; in threadStopAll() local
54 pdbg_for_each_class_target("proc", procTarget) in threadStopAll()
56 if (DT_GET_PROP(ATTR_HWAS_STATE, procTarget, hwasState)) in threadStopAll()
60 pdbg_target_path(procTarget)) in threadStopAll()
71 openpower::phal::sbe::threadStopProc(procTarget); in threadStopAll()
86 pdbg_target_index(procTarget)) in threadStopAll()
89 uint32_t index = pdbg_target_index(procTarget); in threadStopAll()
101 sbeError, pelAdditionalData, procTarget, in threadStopAll()
111 pdbg_target_index(procTarget)) in threadStopAll()
118 pdbg_target_index(procTarget)) in threadStopAll()
H A Dcheck_host_running.cpp64 struct pdbg_target* procTarget; in checkHostRunning() local
79 pdbg_for_each_class_target("proc", procTarget) in checkHostRunning()
82 if (!isPrimaryProc(procTarget)) in checkHostRunning()
89 auto rc = getCFAM(procTarget, P10_SCRATCH_REG_12, val); in checkHostRunning()
144 struct pdbg_target* procTarget; in clearHostRunning() local
160 pdbg_for_each_class_target("proc", procTarget) in clearHostRunning()
163 if (!isPrimaryProc(procTarget)) in clearHostRunning()
169 auto rc = putCFAM(procTarget, P10_SCRATCH_REG_12, in clearHostRunning()
H A Dstart_host.cpp38 struct pdbg_target* procTarget; in selectBootSeeprom() local
42 pdbg_for_each_class_target("proc", procTarget) in selectBootSeeprom()
44 if (!isPrimaryProc(procTarget)) in selectBootSeeprom()
71 if (DT_SET_PROP(ATTR_BACKUP_SEEPROM_SELECT, procTarget, in selectBootSeeprom()
81 if (DT_SET_PROP(ATTR_BACKUP_MEASUREMENT_SEEPROM_SELECT, procTarget, in selectBootSeeprom()
158 struct pdbg_target* procTarget; in setClkNETerminationSite() local
159 pdbg_for_each_class_target("proc", procTarget) in setClkNETerminationSite()
161 if (DT_SET_PROP(ATTR_SYS_CLK_NE_TERMINATION_SITE, procTarget, in setClkNETerminationSite()
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_main.cpp46 static void getSBECallout(struct pdbg_target* procTarget, in getSBECallout() argument
62 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in getSBECallout()
73 "LOCATION", pdbg_target_path(procTarget), "ERROR", e); in getSBECallout()
77 void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout) in handleSbeBootError() argument
87 sbeError = sbe::captureFFDC(procTarget); in handleSbeBootError()
115 uint32_t index = pdbg_target_index(procTarget); in handleSbeBootError()
144 getSBECallout(procTarget, jsonCalloutDataList); in handleSbeBootError()
167 bool dumpAllowed = sbe::isDumpAllowed(procTarget); in handleSbeBootError()
H A Dwatchdog_main.hpp27 void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout);
/openbmc/openpower-hw-diags/attn/
H A Dvital_handler.cpp36 pdbg_target* procTarget; in attemptSbeRecovery() local
37 pdbg_for_each_class_target("proc", procTarget) in attemptSbeRecovery()
41 pdbg_target_probe(util::pdbg::getPibTrgt(procTarget))) in attemptSbeRecovery()
47 pdbg_target* fsiTarget = util::pdbg::getFsiTrgt(procTarget); in attemptSbeRecovery()
H A Dattn_handler.cpp555 pdbg_target* procTarget; in clearAttnInterrupts() local
556 pdbg_for_each_class_target("proc", procTarget) in clearAttnInterrupts()
560 pdbg_target_probe(util::pdbg::getPibTrgt(procTarget))) in clearAttnInterrupts()
566 pdbg_target* fsiTarget = util::pdbg::getFsiTrgt(procTarget); in clearAttnInterrupts()
/openbmc/openpower-debug-collector/
H A Dwatchdog_timeout.cpp50 struct pdbg_target* procTarget = pdbg::getPrimaryProc(); in main() local
73 handleSbeBootError(procTarget, timeout); in main()
/openbmc/openpower-debug-collector/dump/
H A Dsbe_dump_collector.cpp143 for (const auto& [procTarget, ocmbTargets] : targetMap) in spawnDumpCollectionProcesses()
145 auto future = std::async(std::launch::async, [this, procTarget, in spawnDumpCollectionProcesses()
151 this->collectDumpFromSBE(procTarget, path, id, type, cstate, in spawnDumpCollectionProcesses()
158 "PROCINDEX", pdbg_target_index(procTarget), "ERROR", e); in spawnDumpCollectionProcesses()
/openbmc/openpower-hw-diags/analyzer/plugins/
H A Dp10-plugins.cpp139 auto procTarget = util::pdbg::getTrgt(i_chip); in callout_attached_dimms() local
141 util::pdbg::getChipUnit(procTarget, util::pdbg::TYPE_OMI, i_instance); in callout_attached_dimms()