Find attention gpio rather than hard code value

Find the attention gpio by line-name (checkstop) rather than by
chip and pin number. This allows the attention handler to work on
platforms with the attention signal tied to different GPIO's.

Also fixed issue of pdbg targets not getting initialized when
attention handler is built to run in no-listener mode (build option
nlmode, the default for now).

Added/changed a few trace messages to aid in future debugging.

Changed build to not link to libpdbg using "whole-archive" strategy
as it does not seem to be needed anymore.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Id355ce03b716cb0c86bc3418264295dcc60aabef
5 files changed
tree: e20dbe695306acd28cd4dffd3cbe6395d8d88e84
  1. analyzer/
  2. attn/
  3. test/
  4. .clang-format
  5. .gitignore
  6. cli.cpp
  7. cli.hpp
  8. LICENSE
  9. listener.cpp
  10. listener.hpp
  11. main.cpp
  12. main_nl.cpp
  13. MAINTAINERS
  14. meson.build
  15. meson_options.txt
  16. README.md
README.md

Hardware Diagnostics for POWER Systems

In the event of a system fatal error reported by the internal system hardware (processor chips, memory chips, I/O chips, system memory, etc.), POWER Systems have the ability to diagnose the root cause of the failure and perform any service action needed to avoid repeated system failures.

Aditional details TBD.