Attn: On TI with recoverable errors call analyzer
While servicing a TI attention handler will check if recoverable
error attentions are present and if so it will call the analyzer.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I60f0d32932f678ddee894d9424b16409e60bdbd4
diff --git a/attn/ti_handler.cpp b/attn/ti_handler.cpp
index 5e9f7a4..6d28458 100644
--- a/attn/ti_handler.cpp
+++ b/attn/ti_handler.cpp
@@ -74,6 +74,9 @@
// gather additional data for PEL
std::map<std::string, std::string> tiAdditionalData;
+ // make note of recoverable errors present
+ tiAdditionalData["recoverables"] = recoverableErrors() ? "true" : "false";
+
if (nullptr != i_tiDataArea)
{
parsePhypOpalTiInfo(tiAdditionalData, i_tiDataArea);
@@ -166,6 +169,10 @@
// gather additional data for PEL
std::map<std::string, std::string> tiAdditionalData;
+ // make note of recoverable errors present
+ tiAdditionalData["recoverables"] =
+ recoverableErrors() ? "true" : "false";
+
parseHbTiInfo(tiAdditionalData, i_tiDataArea);
tiAdditionalData["Subsystem"] = std::to_string(