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
2 files changed
tree: fc9351380bbc1c61e84f342aeadd3cffda7c41dd
  1. extensions/
  2. procedures/
  3. service_files/
  4. test/
  5. .clang-format
  6. .gitignore
  7. .shellcheck
  8. cfam_access.cpp
  9. cfam_access.hpp
  10. ext_interface.cpp
  11. ext_interface.hpp
  12. filedescriptor.cpp
  13. filedescriptor.hpp
  14. LICENSE
  15. MAINTAINERS
  16. meson.build
  17. meson_options.txt
  18. nmi_interface.cpp
  19. nmi_interface.hpp
  20. nmi_main.cpp
  21. OWNERS
  22. p10_cfam.hpp
  23. p9_cfam.hpp
  24. proc_control.cpp
  25. README.md
  26. registration.hpp
  27. targeting.cpp
  28. targeting.hpp
  29. temporary_file.cpp
  30. temporary_file.hpp
  31. util.cpp
  32. util.hpp
README.md

Contains procedures that interact with the OpenPower nest chipset.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To build with phal feature:
    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS} --enable-phal --enable-openfsi
    3. make

To clean the repository run `./bootstrap.sh clean`.