Home
last modified time | relevance | path

Searched full:sbe (Results 1 – 25 of 106) sorted by relevance

12345

/openbmc/qemu/hw/ppc/
H A Dpnv_sbe.c2 * QEMU PowerPC PowerNV Emulation of some SBE behaviour
38 * SBE MBOX register address
39 * Reg 0 - 3 : Host to send command packets to SBE
40 * Reg 4 - 7 : SBE to send response packets to Host
58 * Doorbell register to trigger SBE interrupt. Set by OPAL to inform
59 * the SBE about a waiting message in the Host/SBE mailbox registers
64 * Doorbell register for host bridge interrupt. Set by the SBE to inform
65 * host about a response message in the Host/SBE mailbox registers
76 /* SBE Control Register */
79 /* SBE interrupt s0/s1 bits */
[all …]
/openbmc/openpower-sbe-interface/
H A Dsbe_chipOp_handler.hpp12 namespace sbe namespace
21 * @brief Helper function for invokeSBEChipOperation(),to write to the SBE FIFO
28 * @param[in] FIFO device path associated with SBE.
29 * @param[in] Command buffer to be written to the SBE FIFO
33 * @return Response buffer returned by the SBE for the input command.
41 * the data obtained from the SBE. Input buffer will be validated and on failure
47 * - SBE Internal failures
49 * @param[in/out] On input - SBE data obtained from the SBE FIFO device.
58 * @brief Interface to invoke a SBE chip operation.It calls internal API to
59 * write to the SBE FIFO and validates the data obtained by the SBE. It throws
[all …]
H A Dsbe_interfaces.cpp13 namespace sbe namespace
53 // Handle byte order mismatch ,SBE is big endian and BMC is in read()
59 // Buffer to hold the response data along with the SBE header in read()
63 // Write the command buffer to the SBE FIFO and obtain the response from the in read()
64 // SBE FIFO device.This interface will parse the obtained SBE response and in read()
65 // any internal SBE failures will be communicated via exceptions in read()
81 // Handle byte order mismatch, SBE is big endian and BMC is in write()
91 // Buffer to hold the SBE response status in write()
95 // Write the command buffer to the SBE FIFO and obtain the response from the in write()
96 // SBE FIFO device.This interface will parse the obtained SBE response and in write()
[all …]
H A Dsbe_chipOp_handler.cpp12 namespace sbe namespace
83 // Derive the total read length which should include the FFDC, which SBE in writeToFifo()
112 // Number of 32-bit words obtained from the SBE in parseResponse()
115 // Fetch the SBE header and SBE chiop primary and secondary status in parseResponse()
116 // Last value in the buffer will have the offset for the SBE header in parseResponse()
123 errMsg << "Distance to SBE status header value " in parseResponse()
157 // Extract the SBE FFDC and throw it to the caller in parseResponse()
171 // TODO:use elog infrastructure to return the SBE and Hardware procedure in parseResponse()
174 errMsg << "Chip operation failed with SBE response code:" in parseResponse()
189 } // namespace sbe
H A Dsbe_interfaces.hpp7 namespace sbe namespace
17 * @param[in] FIFO device path associated with the SBE.
28 * @param[in] FIFO device path associated with the SBE.
35 } // namespace sbe
H A Dfile.hpp9 namespace sbe namespace
20 /** @brief File descriptor for the SBE FIFO device */
73 } // namespace sbe
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/Dump/Entry/
H A DSBE.interface.yaml2 Implement this to add SBE dump management.
4 Self Boot Engine(SBE) is a microcontroller that sits inside the processor to
7 other hardware access operations SBE can encounter errors and become
11 packaged into the OpenPOWER dump format and which is called as SBE dump.
12 There will be one instance of SBE on each processor. Implement this
13 interface to add support for managing the SBE dump.
26 A unique id of the failing SBE which is causing the dump. This ID
27 could be used to identify the specific SBE within the system. The
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsbe_ffdc_handler.hpp14 namespace sbe namespace
17 // SBE FFDC sub type.
21 * @brief FFDC Package structure and definitions based on SBE chip-op spec.
23 * SBE FFDC Starts with a header word (Word 0) that has an unique magic
34 * 2. SBE firmware (e.g. traces, attributes and other information).
77 * | Word 4 | SBE FFDC Dump Fields (Bitmaped) |
97 * @brief This class provides higher level interface to process SBE ffdc
100 * - Process the SBE FFDC data with the help of FAPI infrastructure and
103 * - Add the user data section with SBE FFDC data to support SBE provided
105 * - Any SBE FFDC processing will result additional log message in journal
[all …]
H A Dsbe_ffdc_handler.cpp39 namespace sbe namespace
76 lg2::info("SBE FFDC processing requested"); in SbeFFDC()
79 // associated to the SBE FFDC in SbeFFDC()
121 // Process SBE file. in SbeFFDC()
129 lg2::info("SBE FFDC file fd:({FD}), parsing started", "FD", fd); in parse()
134 // get SBE FFDC data. in parse()
138 lg2::error("Empty SBE FFDC file fd:({FD}), skipping", "FD", fd); in parse()
218 // SBE FFDC processing is not required for SBE Plat errors RCs. in parse()
219 // Plat errors processing is driven by SBE provided user data in parse()
227 lg2::info("SBE FFDC: Internal FFDC packet"); in parse()
[all …]
/openbmc/openpower-debug-collector/dump/
H A Dsbe_dump_collector.hpp50 * Triggers SBE, Hardware/Hostboot dump collection process from SBEs.
52 * dump) or collectSBEDump(for SBE dump) based on the parameter type's value
81 * @brief Execute HWPs to collect SBE dump.
84 * @param[in] failingUnit Id of proc containing failing SBE.
86 * @param[in] sbeTypeId ID for SBE type i.e.; Odyssey or normal memory chip
87 * 0xA-->Normal SBE type,
88 * 0xB-->Odyssey SBE type Exceptions: PDBG_INIT_FAIL for any pdbg init
96 * @brief Collects a dump from a single SBE.
99 * dump from the specified SBE.
101 * @param chip A pointer to the pdbg_target structure representing the SBE.
[all …]
H A Ddump_utils.hpp22 * returned by the SBE
88 * Request SBE dump from the dump manager
90 * Request SBE dump from the dump manager and register a monitor for observing
93 * @param failingUnit The id of the proc containing failed SBE
95 * @param sbeType Type of the SBE
H A Dsbe_consts.hpp4 namespace openpower::dump::SBE namespace
11 // SBE dump types
37 } // namespace openpower::dump::SBE
/openbmc/openbmc/meta-openpower/recipes-phosphor/logging/
H A Dpython3-sbe-log-parsers_git.bb1 SUMMARY = "SBE log python parsers"
2 DESCRIPTION = "Used by peltool to parse SBE UserData sections and SRC details"
3 HOMEPAGE = "https://github.ibm.com/open-power/sbe"
12 SRC_URI = "git://git@github.com/open-power/sbe;branch="master-p10";protocol=ssh;protocol=https"
/openbmc/openpower-hw-diags/attn/
H A Dvital_handler.cpp15 * @brief Request SBE hreset and try to clear sbe attentions
17 * @param[in] sbeInstance - sbe instance to hreset (0 based)
23 // attempt sbe hreset and attention interrupt clear in attemptSbeRecovery()
55 trace::err("sbe attention did not clear"); in attemptSbeRecovery()
71 trace::inf("sbe attention cleared"); in attemptSbeRecovery()
122 * @brief Handle SBE vital attention
154 // attempt to recover the sbe in handleVital()
164 requestDump(pelId, DumpParameters{0, DumpType::SBE}); in handleVital()
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_main.cpp73 * @brief get SBE special callout information
75 * @details This function adds the special sbe callout in the user provided
123 sbeError = sbe::captureFFDC(procTarget); in handleSbeBootError()
143 lg2::error("SBE Boot failure"); in handleSbeBootError()
157 // get SBE ffdc file descriptor in handleSbeBootError()
175 // Additional callout is required for SBE timeout case in handleSbeBootError()
176 // In this case no SBE FFDC information available and in handleSbeBootError()
191 lg2::error("Skipping SBE special callout due to Exception({ERROR})", in handleSbeBootError()
202 // Check SBE dump collection allowed in handleSbeBootError()
203 bool dumpAllowed = sbe::isDumpAllowed(procTarget); in handleSbeBootError()
[all …]
/openbmc/openpower-proc-control/procedures/p9/
H A Dstart_host.cpp66 // Kick off the SBE to start the boot in startHost()
73 log<level::INFO>("Setting SBE seeprom side to 0", in startHost()
79 log<level::INFO>("Setting SBE seeprom side to 1", in startHost()
82 // Bit 17 of the ctrl status reg indicates sbe seeprom boot side in startHost()
86 // Ensure SBE start bit is 0 to handle warm reboot scenarios in startHost()
89 // Start the SBE in startHost()
H A Dstart_host_mpreboot.cpp72 // Kick off the SBE to start the boot in startHostMpReboot()
79 log<level::INFO>("Setting SBE seeprom side to 0", in startHostMpReboot()
85 log<level::INFO>("Setting SBE seeprom side to 1", in startHostMpReboot()
88 // Bit 17 of the ctrl status reg indicates sbe seeprom boot side in startHostMpReboot()
/openbmc/qemu/hw/uefi/
H A Dvar-service-auth.c40 static void set_secure_boot_enable(uefi_vars_state *uv, uint8_t sbe) in set_secure_boot_enable() argument
46 &sbe, sizeof(sbe)); in set_secure_boot_enable()
302 uint8_t platform_mode, sb, sbe, vk; in uefi_vars_auth_init() local
318 sbe = SECURE_BOOT_DISABLE; in uefi_vars_auth_init()
323 sbe = ((uint8_t *)sbe_var->data)[0]; in uefi_vars_auth_init()
326 sbe = SECURE_BOOT_ENABLE; in uefi_vars_auth_init()
327 set_secure_boot_enable(uv, sbe); in uefi_vars_auth_init()
330 if (uv->force_secure_boot && sbe != SECURE_BOOT_ENABLE) { in uefi_vars_auth_init()
331 sbe = SECURE_BOOT_ENABLE; in uefi_vars_auth_init()
332 set_secure_boot_enable(uv, sbe); in uefi_vars_auth_init()
[all …]
/openbmc/docs/designs/
H A Dpower-systems-memory-preserving-reboot.md30 - **Self Boot Engine (SBE)**: A microcontroller built into the host processors
78 the SBE on each of the processors. SBE stops the running cores and collects the
80 data is collected, the SBE returns control to the BMC. BMC then initiates a
103 - BMC should inform SBE to start the memory preserving reboot and collect the
131 systems, an additional s0 interrupt will be sent to SBE to stop the cores
148 chip-op to each SBE
150 #### 5 - SBE collects the hardware data
152 Each SBE collects the architected states and stores it into a pre-defined
157 Once the SBE finishes the hardware collection, it does following to boot the
165 Once SBE is started, it starts hostboot, hostboot copies the architected states
[all …]
/openbmc/openpower-debug-collector/
H A Dwatchdog_timeout.cpp53 bool primaryIplDone = sbe::isPrimaryIplDone(); in main()
77 // SBE boot done, Need to collect hostboot dump in main()
84 // SBE boot window, handle SBE boot failure in main()
85 lg2::info("Handle SBE boot failure"); in main()
/openbmc/openpower-proc-control/extensions/phal/
H A Dphal_error.hpp49 * @brief Process SBE boot failure/success status
51 * This function is used for SBE related failure handling during
52 * boot path. For any SBE related boot failure reason code, collects
53 * the SBE FFDC using libphal api's. Based on the reason code provided
/openbmc/phosphor-dbus-interfaces/gen/com/ibm/Dump/Entry/SBE/
H A Dmeson.build3 sdbusplus_current_path = 'com/ibm/Dump/Entry/SBE'
7 input: ['../../../../../../yaml/com/ibm/Dump/Entry/SBE.interface.yaml'],
26 'com/ibm/Dump/Entry/SBE',
/openbmc/openpower-proc-control/procedures/phal/
H A Denter_mpreboot.cpp46 * @brief Calls sbe_enter_mpipl on the SBE in the provided target.
53 using namespace openpower::phal::sbe; in sbeEnterMpReboot()
65 // SBE is not ready to accept chip-ops, in sbeEnterMpReboot()
108 // Request SBE Dump in sbeEnterMpReboot()
111 DumpType::SBE}; in sbeEnterMpReboot()
134 * @brief initiate memory preserving reboot on each SBE.
H A Dthread_stopall.cpp35 // CMD details based on SBE spec, used for logging purpose in threadStopAll()
46 if (!openpower::phal::sbe::isPrimaryIplDone()) in threadStopAll()
71 openpower::phal::sbe::threadStopProc(procTarget); in threadStopAll()
77 // Create PEL only for valid SBE reported failures in threadStopAll()
106 // SBE is not ready to accept chip-ops, in threadStopAll()
/openbmc/phosphor-dbus-interfaces/gen/com/ibm/Dump/Entry/
H A Dmeson.build5 subdir('SBE') subdir
77 input: ['../../../../../yaml/com/ibm/Dump/Entry/SBE.interface.yaml'],
78 output: ['SBE.md'],
90 'com/ibm/Dump/Entry/SBE',

12345