PHAL: enterMPIPL chip-op failure handling support
Added new enterMpReboot procedure for PHAL feature enabled
systems to support libphal library API based chip-op
failure handling
Existing enterMpReboot procedure moved to non PHAL enabled systems.
Tested:
- Poitive Path 3 processor config
Starting Start memory preserving reboot host0...
Starting memory preserving reboot
Enter MPIPL completed on proc(2)
Enter MPIPL completed on proc(3)
Enter MPIPL completed on proc(0)
Finished Start memory preserving reboot host0.
- Error Path:
- Forced proc2 SBE invalid state.
Journal data
SBE (/proc2) is not ready for chip-op: state(0x00000000)
PEL data:
"SBE_ERR_MSG": "SBE chip-op not allowed",
"Message": "chipop request failure reported by SBE",
"SRC6": [
"0x2A901",
"[0:15] chip position, [16:23] command class,
[24:31] command type"
]
},
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ie0cb5abffd5116d44edfbbeb2fe3d8408bfb73e2
diff --git a/meson.build b/meson.build
index 38e7abd..4d52f5c 100644
--- a/meson.build
+++ b/meson.build
@@ -69,6 +69,7 @@
'procedures/p9/set_sync_fsi_clock_mode.cpp',
'procedures/p9/start_host.cpp',
'procedures/p9/start_host_mpreboot.cpp',
+ 'procedures/p9/enter_mpreboot.cpp',
]
endif
if build_openfsi
@@ -83,6 +84,7 @@
'procedures/phal/proc_pre_poweroff.cpp',
'procedures/phal/check_host_running.cpp',
'procedures/phal/import_devtree.cpp',
+ 'procedures/phal/enter_mpreboot.cpp',
'extensions/phal/common_utils.cpp',
'extensions/phal/pdbg_utils.cpp',
'extensions/phal/create_pel.cpp',
@@ -116,7 +118,6 @@
'targeting.cpp',
'procedures/common/cfam_overrides.cpp',
'procedures/common/cfam_reset.cpp',
- 'procedures/common/enter_mpreboot.cpp',
'procedures/common/collect_sbe_hb_data.cpp',
'util.cpp',
] + extra_sources,