/openbmc/openpower-proc-control/ |
H A D | meson.build | 78 build_phal = get_option('phal').enabled() 86 summary('building phal', build_phal) 105 'procedures/phal/start_host.cpp', 114 'extensions/phal/pdbg_utils.cpp', 115 'extensions/phal/create_pel.cpp', 116 'extensions/phal/phal_error.cpp', 117 'extensions/phal/dump_utils.cpp', 125 cxx.find_library('phal'), build 185 'phal-export-devtree', 200 cxx.find_library('phal'), build [all …]
|
H A D | meson.options | 4 option('phal', type: 'feature', description: 'Enable support for PHAL') 8 description : 'Path to the phal devtree export filter file' 11 value : '/var/lib/phal/exportdevtree', 28 description : 'Path to the phal devtree reinit attribute list file'
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/ |
H A D | op-proc-control_git.bb | 29 PACKAGECONFIG ??= "${@bb.utils.filter('OBMC_MACHINE_FEATURES', 'phal op-fsi', d)}" 30 PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled -Dp9=enabled, ipl pdata" 48 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'op-reset-host-check@.service', '', d)} \ 49 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'op-reset-host-clear.service', '', d)} \ 50 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-export-devtree@.service', '', d)} \ 51 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-import-devtree@.service', '', d)} \ 52 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-reinit-devtree.service', '', d)} \ 53 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'proc-pre-poweroff@.service', '', d)} \ 54 ${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'set-spi-mux.service', '', d)} \ 55 …${@bb.utils.contains('MACHINE_FEATURES', 'phal', 'phal-create-boottime-guard-indicator.service', '… [all …]
|
H A D | op-proc-control-systemd-links.bb | 59 # Only install certain units if phal enabled 60 if [ "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" = phal ]; then 71 LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.requires/phal-reinit-devtree.service" 72 TARGET="../phal-reinit-devtree.service" 83 LINK="$D$systemd_system_unitdir/multi-user.target.wants/phal-import-devtree@0.service" 84 TARGET="../phal-import-devtree@.service" 89 TARGET="../phal-export-devtree@.service" 94 TARGET="../phal-create-boottime-guard-indicator.service" 153 # Remove phal specific units if enabled 154 if [ "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" = phal ]; then [all …]
|
/openbmc/openpower-debug-collector/dump/ |
H A D | sbe_dump_collector.cpp | 53 !openpower::phal::pdbg::isTgtFunctional(target)) in collectDump() 84 if (!openpower::phal::pdbg::isTgtFunctional(ocmbTarget)) in collectDump() 134 openpower::phal::pdbg::init(); in initializePdbg() 189 const openpower::phal::sbeError_t& sbeError, uint64_t chipPos, in logErrorAndCreatePEL() 224 openpower::phal::exception::SBE_FFDC_NO_DATA) in logErrorAndCreatePEL() 235 openpower::phal::exception::SBE_INTERNAL_FFDC_DATA) in logErrorAndCreatePEL() 301 catch (const openpower::phal::sbeError_t& sbeError) in collectDumpFromSBE() 304 openpower::phal::exception::SBE_CHIPOP_NOT_ALLOWED) in collectDumpFromSBE() 402 openpower::phal::sbe::threadStopProc(target); in executeThreadStop() 405 catch (const openpower::phal::sbeError_t& sbeError) in executeThreadStop() [all …]
|
H A D | create_pel.cpp | 113 case openpower::phal::FAPI2_ERRL_SEV_RECOVERED: in convertSeverityToEnum() 115 case openpower::phal::FAPI2_ERRL_SEV_PREDICTIVE: in convertSeverityToEnum() 117 case openpower::phal::FAPI2_ERRL_SEV_UNRECOVERABLE: in convertSeverityToEnum() 124 void processFFDCPackets(const openpower::phal::sbeError_t& sbeError, in processFFDCPackets()
|
H A D | create_pel.hpp | 24 using namespace openpower::phal; 60 void processFFDCPackets(const openpower::phal::sbeError_t& sbeError,
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | thread_stopall.cpp | 19 namespace phal namespace 22 using namespace openpower::phal::exception; 43 openpower::phal::pdbg::init(); in threadStopAll() 46 if (!openpower::phal::sbe::isPrimaryIplDone()) in threadStopAll() 71 openpower::phal::sbe::threadStopProc(procTarget); in threadStopAll()
|
H A D | import_devtree.cpp | 20 namespace phal namespace 38 openpower::phal::setDevtreeEnv(); in importDevtree() 41 openpower::phal::setPdataInfoDBEnv(); in importDevtree()
|
H A D | enter_mpreboot.cpp | 52 using namespace openpower::phal; in sbeEnterMpReboot() 53 using namespace openpower::phal::sbe; in sbeEnterMpReboot() 54 using namespace openpower::phal::exception; in sbeEnterMpReboot() 109 using namespace openpower::phal::dump; in sbeEnterMpReboot()
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | fw_update_watch.cpp | 22 namespace phal namespace 92 openpower::phal::fwupdate::exportDevtree(); in fwIntfAddedCallback() 138 openpower::phal::setDevtreeEnv(); in exportDevtree() 141 openpower::phal::setPdataInfoDBEnv(); in exportDevtree()
|
H A D | phal_error.cpp | 31 namespace phal namespace 34 using namespace openpower::phal::exception; 81 using namespace openpower::phal::pdbg; in pdbgCallbackToGetTgtReqAttrsVal() 119 openpower::phal::pdbg::getLocationCode(target, in pdbgCallbackToGetTgtReqAttrsVal() 292 if (openpower::phal::isPrimaryProc(procTarget)) in processNonFunctionalBootProc() 619 phal::TargetInfo targetInfo; in processBootErrorHelper() 620 phal::getTgtReqAttrsVal(hwCallout.target_entity_path, in processBootErrorHelper() 663 phal::TargetInfo targetInfo; in processBootErrorHelper() 855 using namespace openpower::phal::sbe; in processSbeBootError() 874 if (openpower::phal::isPrimaryProc(procTarget)) in processSbeBootError() [all …]
|
H A D | clock_logger.cpp | 34 namespace openpower::phal::clock namespace 45 openpower::phal::pdbg::init(); in Manager() 117 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in createClockDataLog() 167 val = openpower::phal::pdbg::getCFAM(proc, addr); in addCFAMData()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | fapi_data_process.cpp | 29 namespace phal namespace 32 using namespace openpower::phal::exception; 78 using namespace openpower::phal::pdbg; in pdbgCallbackToGetTgtReqAttrsVal() 117 openpower::phal::pdbg::getLocationCode(target, in pdbgCallbackToGetTgtReqAttrsVal() 346 phal::TargetInfo targetInfo; in convertFAPItoPELformat() 347 phal::getTgtReqAttrsVal(hwCallout.target_entity_path, targetInfo); in convertFAPItoPELformat() 385 phal::TargetInfo targetInfo; in convertFAPItoPELformat() 388 phal::getTgtReqAttrsVal(cdg_tgt.target_entity_path, targetInfo); in convertFAPItoPELformat()
|
H A D | phal_service_actions.cpp | 14 namespace phal namespace 155 using namespace openpower::phal::pdbg; in createDeconfigRecords() 201 openpower::phal::pdbg::deconfigureTgt(physBinPath, plid); in createDeconfigRecords()
|
/openbmc/openpower-debug-collector/watchdog/ |
H A D | watchdog_main.cpp | 49 using namespace openpower::phal::pdbg; in getSBECallout() 62 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in getSBECallout() 79 using namespace openpower::phal; in handleSbeBootError() 164 using namespace openpower::phal; in handleSbeBootError()
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/debug/ |
H A D | openpower-debug-collector-systemd-links.inc | 18 if [ "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" != 'phal' ]; then 40 if [ "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" != 'phal' ]; then
|
/openbmc/openpower-proc-control/service_files/ |
H A D | phal-create-boottime-guard-indicator.service.in | 8 ExecStart=/bin/mkdir -p /tmp/phal 11 ExecStart=/bin/touch /tmp/phal/boottime_guard_indicator
|
H A D | phal-reinit-devtree.service.in | 10 ExecStart=/bin/rm -f /var/lib/phal/genesisboot 11 ExecStart=/bin/rm -f /var/lib/phal/exportdevtree
|
/openbmc/openbmc/meta-openpower/recipes-bsp/guard/ |
H A D | guard_git.bb | 18 PACKAGECONFIG ??= "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" 19 PACKAGECONFIG[phal] = "-Ddevtree=enabled, -Ddevtree=disabled, pdata pdbg"
|
/openbmc/openbmc/meta-openpower/recipes-bsp/pdata/ |
H A D | phal-devtree.bb | 1 SUMMARY = "Tools and libraries to manage the phal devicetree" 2 DESCRIPTION = "phal(power hardware abstraction layer) devicetree data \
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/logging/ |
H A D | phosphor-logging_%.bbappend | 15 #Enable phal feature, if available. 16 PACKAGECONFIG:append = " ${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" 17 PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, pdata libekb pdbg ipl"
|
/openbmc/openpower-hw-diags/attn/ |
H A D | attn_handler.cpp | 57 void phalSbeExceptionHandler(openpower::phal::exception::SbeError& e, 298 openpower::phal::sbe::getTiInfo(attnProc, &tiInfo, &tiInfoLen); in handleSpecial() 300 catch (openpower::phal::exception::SbeError& sbeError) in handleSpecial() 448 void phalSbeExceptionHandler(openpower::phal::exception::SbeError& sbeError, in phalSbeExceptionHandler()
|
H A D | meson.build | 13 if (get_option('phal').allowed()) 75 if get_option('phal').allowed()
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/logging/ |
H A D | openpower-hw-diags_git.bb | 33 PACKAGECONFIG ??= "${@bb.utils.filter('MACHINE_FEATURES', 'phal', d)}" 34 PACKAGECONFIG[phal] = "-Dphal=enabled, -Dphal=disabled, ipl pdata"
|