Attn: Clear attention interrupts

Clear attention interrupts when starting the attention handler. This
code will try to clear active attention interrupts. If an attention is
active the interrupt will remain active as well. This code is
meant to address cases where attentions have been cleared but the
associated interrupt has not been cleared. This fixes the problem of
attention handler not handling attentions after an MPIPL.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Ib0873a3afb891c49a125d2f8b00e2c621b0189e3
2 files changed
tree: a2d4c478c2b9ec9df0d51614bd8ae4ed05b4eec2
  1. analyzer/
  2. attn/
  3. subprojects/
  4. test/
  5. util/
  6. .clang-format
  7. .eslintignore
  8. .gitignore
  9. buildinfo.hpp.in
  10. cli.cpp
  11. cli.hpp
  12. config.h.in
  13. LICENSE
  14. listener.cpp
  15. listener.hpp
  16. main.cpp
  17. main_nl.cpp
  18. MAINTAINERS
  19. meson.build
  20. meson_options.txt
  21. OWNERS
  22. 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.

Building

For a standard OpenBMC release build, you want something like:

meson -Dtests=disabled <build_dir>
ninja -C <build_dir>
ninja -C <build_dir> install

For a test / debug build, a typical configuration is:

meson -Dtests=enabled <build_dir>
ninja -C <build_dir> test