summaryrefslogtreecommitdiffstats
path: root/src/usr/scom/runtime/rt_scom.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/scom/runtime/rt_scom.C')
-rw-r--r--src/usr/scom/runtime/rt_scom.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/scom/runtime/rt_scom.C b/src/usr/scom/runtime/rt_scom.C
index 26bac2898..551e9bac9 100644
--- a/src/usr/scom/runtime/rt_scom.C
+++ b/src/usr/scom/runtime/rt_scom.C
@@ -28,6 +28,7 @@
#include <errl/errlmanager.H>
#include <scom/scomreasoncodes.H>
#include <scom/scomif.H>
+#include <scom/runtime/rt_scomif.H>
#include <runtime/interface.h>
#include <runtime/rt_targeting.H>
#include <xscom/piberror.H>
@@ -223,6 +224,13 @@ errlHndl_t sendScomToHyp(DeviceFW::OperationType i_opType,
i_opType),
i_scomAddr);
+ constexpr int MembufFatalError = -0x1008;
+
+ if (rc == MembufFatalError)
+ {
+ FSISCOM::switchToFspScomAccess(i_target);
+ }
+
// attempt to translate rc into a pib error assuming
// the rc is in common format
HbrtRcPiberr_t l_commonRc = static_cast<HbrtRcPiberr_t>(rc);
OpenPOWER on IntegriCloud