PHAL: collect SBE dump for enterMPIPL chip-op timeout
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ib0edbb655869628120081e821a2ceafc407a9623
diff --git a/procedures/phal/enter_mpreboot.cpp b/procedures/phal/enter_mpreboot.cpp
index aa7365e..d2c7f77 100644
--- a/procedures/phal/enter_mpreboot.cpp
+++ b/procedures/phal/enter_mpreboot.cpp
@@ -23,6 +23,7 @@
}
#include "extensions/phal/create_pel.hpp"
+#include "extensions/phal/dump_utils.hpp"
#include <attributes_info.H>
#include <fmt/format.h>
@@ -89,11 +90,15 @@
FFDCData pelAdditionalData;
pelAdditionalData.emplace_back("SRC6",
std::to_string((index << 16) | cmd));
- createSbeErrorPEL(event, sbeError, pelAdditionalData);
+ auto logId = createSbeErrorPEL(event, sbeError, pelAdditionalData);
if (dumpIsRequired)
{
- // TODO Request SBE Dump
+ // Request SBE Dump
+ using namespace openpower::phal::dump;
+ DumpParameters dumpParameters = {logId, index, SBE_DUMP_TIMEOUT,
+ DumpType::SBE};
+ requestDump(dumpParameters);
}
throw;
}