watchdog: Create PEL when AutoReboot is false and watchdog times out

Testing brought to light that an error should always be logged
when the host watchdog times out

Testing:
Excecuted watchdog_timeout command manually after setting AutoReboot
property to false, and used peltool to verify the PEL was created.

Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com>
Change-Id: I8e92676021dd4243d51daca567d8dccc6c56fa7d
2 files changed
tree: 9104be6ff4dfb6a16e275ff7a0b6c1b3392bee85
  1. gen/
  2. org/
  3. phosphor-logging/
  4. subprojects/
  5. watchdog/
  6. .clang-format
  7. .gitignore
  8. checkstop_app.cpp
  9. LICENSE
  10. MAINTAINERS
  11. meson.build
  12. meson_options.txt
  13. README.md
  14. watchdog_timeout.cpp
README.md

Building the Code

To build this package, do the following steps:

    1. meson build
    2. ninja -C build

To clean the repository run `rm -rf build`.