Add support for memory preserving reboot

Memory preserving reboot is executed when an error encountered
in the hypervisor. There are two SBE chip ops to be executed to
initiate and complete this reboot. The sbe_enter_mpipl chip op
initiates the powering off process and sbe_continue_mpipl restarts
the host in the memory preserving way.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I5b40398921e3856645bb3f292e49a1de12659f7e
3 files changed
tree: 2ecb7052d728770d8cb054f8b7c4f59bcba3c3c8
  1. phalerror/
  2. procedures/
  3. test/
  4. .clang-format
  5. .gitignore
  6. bootstrap.sh
  7. cfam_access.cpp
  8. cfam_access.hpp
  9. configure.ac
  10. ext_interface.cpp
  11. ext_interface.hpp
  12. filedescriptor.cpp
  13. filedescriptor.hpp
  14. gen_makefile.sh
  15. LICENSE
  16. MAINTAINERS
  17. Makefile.am
  18. Makefile.generated.in
  19. nmi_interface.cpp
  20. nmi_interface.hpp
  21. nmi_main.cpp
  22. op-cfam-reset.service.in
  23. op-stop-instructions@.service.in
  24. p10_cfam.hpp
  25. p9_cfam.hpp
  26. pcie-poweroff@.service.in
  27. proc_control.cpp
  28. README.md
  29. registration.cpp
  30. registration.hpp
  31. set-spi-mux.service.in
  32. targeting.cpp
  33. targeting.hpp
  34. xyz.openbmc_project.Control.Host.NMI.service.in
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`.