History log of /openbmc/openpower-hw-diags/main.cpp (Results 1 – 12 of 12)
Revision Date Author Comments
# 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 ...


# ebff0d37 21-Nov-2021 Zane Shelley <zshelle@us.ibm.com>

add analysis type to analyzer main function

The analyzer behavior will vary depending on the type of event that
triggered analysis. For example, we do not want to perform any service
actions when ma

add analysis type to analyzer main function

The analyzer behavior will vary depending on the type of event that
triggered analysis. For example, we do not want to perform any service
actions when manual analysis is done from the command line.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Iecfbac7f680b3fefebb0e02a9caa5fc06b692c7a

show more ...


# 611b3442 19-Nov-2021 Zane Shelley <zshelle@us.ibm.com>

change analyzerHardware() to return PEL PLID is created

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Icee2909e5060c79cb95ead8fc08a5e359df42829


# 9fb7393e 15-Sep-2020 Zane Shelley <zshelle@us.ibm.com>

Generate a PEL if any attentions found in hardware

analyzer::analyzeHardware() will create a PEL, if any attentions are
found in hardware, instead of requiring the caller to create the PEL.

Signed-

Generate a PEL if any attentions found in hardware

analyzer::analyzeHardware() will create a PEL, if any attentions are
found in hardware, instead of requiring the caller to create the PEL.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ie5319eca56cbeba4ddc25bcb897d4d143edde742

show more ...


# d70033a5 09-Jun-2020 Ben Tyner <ben.tyner@ibm.com>

Check for pending active attentions

When the attention handler is starting check for active attentions
that may have occurred before the attention handler was started.

Also removed extra call to pd

Check for pending active attentions

When the attention handler is starting check for active attentions
that may have occurred before the attention handler was started.

Also removed extra call to pdbg_targets_init.

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

show more ...


# 87eabc65 14-May-2020 Ben Tyner <ben.tyner@ibm.com>

Hardware error analyzer for checkstop analyses

When a checkstop occurs the attention handler will use the hardware
error isolator to gather information pertaining to the error
condition(s).

Signed-

Hardware error analyzer for checkstop analyses

When a checkstop occurs the attention handler will use the hardware
error isolator to gather information pertaining to the error
condition(s).

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

show more ...


# b1ebfcb1 08-May-2020 Ben Tyner <ben.tyner@ibm.com>

Platform Event Log (PEL) generation support added

Attention events will now generate an associated PEL

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

Platform Event Log (PEL) generation support added

Attention events will now generate an associated PEL

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

show more ...


# 8c2f8b24 27-Mar-2020 Ben Tyner <ben.tyner@ibm.com>

Added IPC support to attention handler

Created a listener thread that configures and starts the attention
gpio monitor. The listener remains resident in memory and accepts
run-time commands to confi

Added IPC support to attention handler

Created a listener thread that configures and starts the attention
gpio monitor. The listener remains resident in memory and accepts
run-time commands to configure (or stop) the attention handler.

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

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 ...


# 7212d21d 31-Mar-2020 Ben Tyner <ben.tyner@ibm.com>

CLI support code seperated from main

Command line interface handling code was moved to its
own files.

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

CLI support code seperated from main

Command line interface handling code was moved to its
own files.

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

show more ...


# 9ae5ca41 28-Feb-2020 Ben Tyner <ben.tyner@ibm.com>

Added end2end test case

Added end2end test case for exercising code from attention event to isolator.

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

Added end2end test case

Added end2end test case for exercising code from attention event to isolator.

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

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 ...