History log of /openbmc/openpower-hw-diags/attn/attn_main.cpp (Results 1 – 10 of 10)
Revision Date Author Comments
# c7aacfaf 18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have b

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.

See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.

Change-Id: Iac4c76003711957f5885064d3b6ea857da3fb120
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 27dd6368 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I27b0d1357211259edb6ec2776924729052f238d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 0577c013 01-Mar-2023 Ed Tanous <edtanous@google.com>

Change io_service to io_context

This was renamed a while back in boost to be compliant with the
std::executors proposal.

Change-Id: I67eb15038f2aa6957738fa5e3f6c14fd66460b7a
Signed-off-by: Ed Tanou

Change io_service to io_context

This was renamed a while back in boost to be compliant with the
std::executors proposal.

Change-Id: I67eb15038f2aa6957738fa5e3f6c14fd66460b7a
Signed-off-by: Ed Tanous <edtanous@google.com>

show more ...


# b797b3e1 29-Jun-2020 Ben Tyner <ben.tyner@ibm.com>

Normalize includes relative to source root

For unit test cases it is cleaner to have include file paths relative to
source root (e.g. #include attn/attn_handler.hpp).

Signed-off-by: Ben Tyner <ben.

Normalize includes relative to source root

For unit test cases it is cleaner to have include file paths relative to
source root (e.g. #include attn/attn_handler.hpp).

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Id718e57e9ba8da4c2ff3bb11b1c7a61537da538a

show more ...


# 117af99b 22-May-2020 Ben Tyner <ben.tyner@ibm.com>

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 a

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

show more ...


# 3fb52e53 31-Mar-2020 Ben Tyner <ben.tyner@ibm.com>

Enable/disable logic for each attention type

Allow the handler for each attention type to be enabled or
disabled. The default is all attention handlers are enabled.

Signed-off-by: Ben Tyner <ben.ty

Enable/disable logic for each attention type

Allow the handler for each attention type to be enabled or
disabled. The default is all attention handlers are enabled.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Ibe2e7848a7064ae164f70aa5ea5bfca486c4036b

show more ...


# 0205f3b3 24-Feb-2020 Ben Tyner <ben.tyner@ibm.com>

Combine attn handler and openpower hwdiags

The main binary is now openpower-hw-diags. This application will take a
command line option --daemon to load it as a daemon. As a daemon it will
register t

Combine attn handler and openpower hwdiags

The main binary is now openpower-hw-diags. This application will take a
command line option --daemon to load it as a daemon. As a daemon it will
register the attention handler portion of application as the attention
gpio event handler. If the application is not loaded as a daemon it will
operate as a stand alone application which accepts command line options
for requesting hardware analyses and diagnostics operations.

Change-Id: I6210b744cb320873d74a0757928f904ca6296846
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>

show more ...


# 970fd4fb 19-Feb-2020 Ben Tyner <ben.tyner@ibm.com>

Add command line interface to attention handler

Allows configuring attention handler before starting attention
GPIO monitor.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I7a8d91703c14ce6

Add command line interface to attention handler

Allows configuring attention handler before starting attention
GPIO monitor.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I7a8d91703c14ce6d8eb3efddb135f11bf6baf06e

show more ...


# 73ac368a 09-Jan-2020 Ben Tyner <ben.tyner@ibm.com>

Attention Handler gpio monitor

Register an async-io service for monitoring the attention GPIO and use the attention handler as the GPIO event handler. The GPIO monitor will respond to changes on the

Attention Handler gpio monitor

Register an async-io service for monitoring the attention GPIO and use the attention handler as the GPIO event handler. The GPIO monitor will respond to changes on the attention GPIO and in response will call the attention handler base logic to handle the attention events.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I3cdc0cb34bc3067b54cb64ab49d98fa2182e7fa1

show more ...


# ef320154 09-Jan-2020 Ben Tyner <ben.tyner@ibm.com>

Attention Handler base logic

Added base logic for the attention handler application (attn) as a starting point for further refinement. Attn will handle SBE vital, system checkstop and special attent

Attention Handler base logic

Added base logic for the attention handler application (attn) as a starting point for further refinement. Attn will handle SBE vital, system checkstop and special attention events. These events will be handled through a combination local logic and external hardware and software interfaces.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I074fb86474761bf694644c71d93ede9c45673b79

show more ...