PHAL: threadStopall procedure support
This procedure is used to stop all instruction in the threads
for the phal feature enabled systems. Here following best case
approach. Like issue processor level stop all chip-op with
ignore hardware error mode. Since this function is used in
power-off/error path
Tested: Verified success/error path
root@xxxx:/tmp# openpower-proc-control threadStopAll
PDBG Initilization started
Enter: threadStopProc(/proc0)
Enter: threadStopProc(/proc1)
SBE (/proc1) is not ready for chip-op: state(0x00000000)
Enter: threadStopProc(/proc2)
SBE (/proc2) is not ready for chip-op: state(0x00000000)
Enter: threadStopProc(/proc3)
SBE (/proc3) is not ready for chip-op: state(0x00000000)
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I654b0b7df209e618b3d7a8fba948c0e48b53a7e0
diff --git a/meson.build b/meson.build
index a1ec942..ce7ff10 100644
--- a/meson.build
+++ b/meson.build
@@ -102,6 +102,7 @@
'procedures/phal/import_devtree.cpp',
'procedures/phal/enter_mpreboot.cpp',
'procedures/phal/reinit_devtree.cpp',
+ 'procedures/phal/thread_stopall.cpp',
'extensions/phal/common_utils.cpp',
'extensions/phal/pdbg_utils.cpp',
'extensions/phal/create_pel.cpp',