Don't check host state for errors that cause shutdown

Some falling-edge GPIOs go low when the system powers off
causing false errors to be detected, so host state must be
checked when handling.

However, there are some falling-egde SGPIOs that the hardware
is able to keep high when the system powers off, so the host
state doesn't need to be checked.  On top of that, if the error
itself causes the system to shut down, the event could be
missed by checking the host state.

This commit removes the host state check for the signals that
stay high when the system powers off and may cause a shutdown
when asserted.

Tested:
Power-cycled my system 200 times and confirmed that none of
these signals gets logged as a false error.

Change-Id: I0cf29ae805138f8a8969f2353fa9e921d460263d
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
1 file changed
tree: 092362923dd4da775f01395168292c4a257e2f4b
  1. service_files/
  2. src/
  3. .clang-format
  4. cmake-format.json
  5. CMakeLists.txt
  6. LICENSE
  7. MAINTAINERS
  8. README.md
README.md

host-error-monitor

The host-error-monitor application is intended to monitor various host error signals and take appropriate action (logging, crashdump, reset, etc.) when triggered.