bmc-reset: call new host reset check service

This service will only run in the following condition:
- Chassis power is on when the BMC comes out of reset
- Host state management is unable to communicate with the host over IPMI
  or PLDM channels

Tested:
- Verified service does not run if chassis power is not on when coming
  to BMC Ready (i..e /run/openbmc/chassis@0-on present)
- Verified service does not run if host has responded over PLDM or IPMI
  (i.e. /run/openbmc/host@0-on present)
- Verified if we get past the above checks, the hw procedure is called
  as expected

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I761c7333949f9c0e1e7505b686afc4ca537346fd
2 files changed
tree: bb5fc9071cf70a27352b6a20edf42cc20c051087
  1. phalerror/
  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. p10_cfam.hpp
  22. p9_cfam.hpp
  23. proc_control.cpp
  24. README.md
  25. registration.hpp
  26. targeting.cpp
  27. targeting.hpp
  28. util.cpp
  29. 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`.