/openbmc/openpower-proc-control/ |
H A D | meson.build | 37 description: 'Path to the phal devtree export filter file', 66 description: 'Path to the phal devtree reinit attribute list file', 86 if get_option('phal').enabled() and get_option('p9').enabled() 87 error('phal and p9 cannot be selected at the same time') 92 build_phal = get_option('phal').enabled() 94 if get_option('phal').enabled() and not get_option('p9').disabled() 100 summary('building phal', build_phal) 117 'procedures/phal/start_host.cpp', 118 'procedures/phal/set_SPI_mux.cpp', 119 'procedures/phal/proc_pre_poweroff.cpp', [all …]
|
H A D | meson.options | 4 option('phal', type: 'feature', description: 'Enable support for PHAL') 10 description: 'Path to the phal devtree export filter file', 15 value: '/var/lib/phal/exportdevtree', 40 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" 88 LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.wants/phal-export-devtree@0.service" 89 TARGET="../phal-export-devtree@.service" 93 …LINK="$D$systemd_system_unitdir/obmc-host-start@0.target.wants/phal-create-boottime-guard-indicato… 94 TARGET="../phal-create-boottime-guard-indicator.service" [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() 190 const openpower::phal::sbeError_t& sbeError, uint64_t chipPos, in logErrorAndCreatePEL() 218 if (sbeError.errType() == openpower::phal::exception::SBE_CMD_TIMEOUT) in logErrorAndCreatePEL() 225 openpower::phal::exception::SBE_FFDC_NO_DATA) in logErrorAndCreatePEL() 236 openpower::phal::exception::SBE_INTERNAL_FFDC_DATA) in logErrorAndCreatePEL() 297 openpower::phal::sbe::getDump(chip, type, clockState, collectFastArray, in collectDumpFromSBE() 300 catch (const openpower::phal::sbeError_t& sbeError) in collectDumpFromSBE() 303 openpower::phal::exception::SBE_CHIPOP_NOT_ALLOWED) in collectDumpFromSBE() [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 | 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()
|
H A D | import_devtree.cpp | 20 namespace phal namespace 38 openpower::phal::setDevtreeEnv(); in importDevtree() 41 openpower::phal::setPdataInfoDBEnv(); in importDevtree()
|
/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() 348 phal::TargetInfo targetInfo; in convertFAPItoPELformat() 349 phal::getTgtReqAttrsVal(hwCallout.target_entity_path, in convertFAPItoPELformat() 390 phal::TargetInfo targetInfo; in convertFAPItoPELformat() 393 phal::getTgtReqAttrsVal(cdg_tgt.target_entity_path, targetInfo); in convertFAPItoPELformat()
|
H A D | phal_service_actions.cpp | 18 namespace phal namespace 150 using namespace openpower::phal::pdbg; in createDeconfigRecords() 190 openpower::phal::pdbg::deconfigureTgt(physBinPath, plid); in createDeconfigRecords()
|
/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() 308 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in processNonFunctionalBootProc() 622 phal::TargetInfo targetInfo; in processBootErrorHelper() 623 phal::getTgtReqAttrsVal(hwCallout.target_entity_path, in processBootErrorHelper() 668 phal::TargetInfo targetInfo; in processBootErrorHelper() 671 phal::getTgtReqAttrsVal(cdg_tgt.target_entity_path, in processBootErrorHelper() [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/openpower-debug-collector/watchdog/ |
H A D | watchdog_main.cpp | 85 using namespace openpower::phal::pdbg; in handleSbeBootError() 98 openpower::phal::pdbg::getLocationCode(procTarget, locationCode); in handleSbeBootError() 115 using namespace openpower::phal; in handleSbeBootError() 200 using namespace openpower::phal;
|
/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 | 15 if (get_option('phal').allowed()) 71 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"
|