/openbmc/openpower-proc-control/extensions/phal/ |
H A D | pdbg_utils.cpp | 22 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 D | pdbg_utils.hpp | 24 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 D | clock_logger.cpp | 84 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 D | phal_error.cpp | 289 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 D | common_utils.cpp | 50 bool isPrimaryProc(struct pdbg_target* procTarget) in isPrimaryProc() argument 55 if (DT_GET_PROP(ATTR_PROC_MASTER_TYPE, procTarget, type)) in isPrimaryProc()
|
H A D | create_pel.cpp | 48 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 D | common_utils.hpp | 32 bool isPrimaryProc(struct pdbg_target* procTarget);
|
H A D | create_pel.hpp | 50 struct pdbg_target* procTarget,
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | thread_stopall.cpp | 52 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 D | check_host_running.cpp | 64 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 D | start_host.cpp | 38 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 D | watchdog_main.cpp | 46 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 D | watchdog_main.hpp | 27 void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout);
|
/openbmc/openpower-hw-diags/attn/ |
H A D | vital_handler.cpp | 36 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 D | attn_handler.cpp | 555 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 D | watchdog_timeout.cpp | 50 struct pdbg_target* procTarget = pdbg::getPrimaryProc(); in main() local 73 handleSbeBootError(procTarget, timeout); in main()
|
/openbmc/openpower-debug-collector/dump/ |
H A D | sbe_dump_collector.cpp | 143 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 D | p10-plugins.cpp | 139 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()
|