PHAL: SBE boot failure support
Added support to handle SBE boot failure reported during
SBE start process. This features required support from
libphal library which is part of ipl repository.
This function invoked for any SBE related boot failure reason code.
libphal library provided api's is used for capturing FFDC information
from SBE. Creates SBE specific PEL for a valid FFDC data. In case the
error is related SBE timeout initiates SBE dump to capture additional
debug data.
Tested: verified PEL log
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Iff9a23359de8f5ca273d195b29afe2fdc659283f
diff --git a/extensions/phal/phal_error.hpp b/extensions/phal/phal_error.hpp
index 746b733..734d6f2 100644
--- a/extensions/phal/phal_error.hpp
+++ b/extensions/phal/phal_error.hpp
@@ -46,6 +46,17 @@
void processBootError(bool status);
/**
+ * @brief Process SBE boot failure/success status
+ *
+ * This function is used for SBE related failure handling during
+ * boot path. For any SBE related boot failure reason code, collects
+ * the SBE FFDC using libphal api's. Based on the reason code provided
+ * as part of error object collects Dump or PEL.
+ * Also resets the trace buffer.
+ */
+void processSbeBootError();
+
+/**
* @brief Reset trace log list
*/
void reset();