Only log input fault error when power is on

If the system power is on and a INPUT or VIN_UV fault is detected, log
an error with the appropriate metadata. If the power is off, just put an
informational message in the journal.

Resolves: openbmc/openbmc#2771

Change-Id: I1e30177e9f1f4d44a8b9cc1af9ef064d3eb37be4
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
1 file changed
tree: c244ca0c31ff13f9c2802f801c778ebc8bc8cd25
  1. org/
  2. power-sequencer/
  3. power-supply/
  4. test/
  5. .gitignore
  6. argument.hpp
  7. bootstrap.sh
  8. configure.ac
  9. device.hpp
  10. device_monitor.hpp
  11. elog-errors.hpp
  12. event.hpp
  13. file.hpp
  14. gpio.cpp
  15. gpio.hpp
  16. LICENSE
  17. Makefile.am
  18. names_values.hpp
  19. pmbus.cpp
  20. pmbus.hpp
  21. README.md
  22. timer.cpp
  23. timer.hpp
  24. utility.cpp
  25. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

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

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