History log of /openbmc/openpower-hw-diags/attn/attn_handler.hpp (Results 1 – 18 of 18)
Revision Date Author Comments
# bdb8667c 07-Jun-2023 Ben Tyner <ben.tyner@ibm.com>

Attn: Added needed cstdint include

Moving to gcc13 requires explicitly including some
previously indirectly resolved includes. In this
case cstdint was needed to resolve uint32_t type.

Change-Id: I

Attn: Added needed cstdint include

Moving to gcc13 requires explicitly including some
previously indirectly resolved includes. In this
case cstdint was needed to resolve uint32_t type.

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

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


# 90516851 14-Dec-2022 Ben Tyner <ben.tyner@ibm.com>

Add SBE hreset support to SBE attention handler

When a SBE attention is being handled we will
request a SBE hreset and try to clear the SBE
attentions. If this is not successful we will
request a SB

Add SBE hreset support to SBE attention handler

When a SBE attention is being handled we will
request a SBE hreset and try to clear the SBE
attentions. If this is not successful we will
request a SBE dump and host re-IPL.

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

show more ...


# 6a69e6e5 05-Apr-2022 Ben Tyner <ben.tyner@ibm.com>

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

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

show more ...


# a16758b7 07-Dec-2021 Ben Tyner <ben.tyner@ibm.com>

attn: Fix no PEL created when TI info unavailable

When handling HB TI where TI info is not available the logic path was
incorrectly handling this event as a TI with EID and no PEL was
being created.

attn: Fix no PEL created when TI info unavailable

When handling HB TI where TI info is not available the logic path was
incorrectly handling this event as a TI with EID and no PEL was
being created. This is fixed (a PEL is created) by handling this
event correctly as TI with SRC (SRC == BC801B99).

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

show more ...


# 135793a8 27-Oct-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: On TI with recoverable errors call analyzer

While servicing a TI attention handler will check if recoverable
error attentions are present and if so it will call the analyzer.

Signed-off-by: B

Attn: On TI with recoverable errors call analyzer

While servicing a TI attention handler will check if recoverable
error attentions are present and if so it will call the analyzer.

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

show more ...


# b8335568 16-Jul-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Do not always trace hostboot registers

Only trace hostboot registers if we are handling a checkstop or TI.

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

Attn: Do not always trace hostboot registers

Only trace hostboot registers if we are handling a checkstop or TI.

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

show more ...


# 4bbcb38f 22-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Determine TI source by host running state

In cases where the TI info is not available use the host running state
to make an educated guess as to the source of the TI.

Signed-off-by: Ben Tyner

Attn: Determine TI source by host running state

In cases where the TI info is not available use the host running state
to make an educated guess as to the source of the TI.

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

show more ...


# 7a0dd543 12-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Procedure specific error codes in error logs

When creating error logs for attention handler failures an error code is
presented in the error log. Make these specific to the attention handler
p

Attn: Procedure specific error codes in error logs

When creating error logs for attention handler failures an error code is
presented in the error log. Make these specific to the attention handler
procedure that encountered the error.

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

show more ...


# 29651ef8 08-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Add some sanity checking for TI info pointer

Add some nullptr checks for TI info. An earlier commit should ensure
that this pointer is never null however during debug it proved useful
to verif

Attn: Add some sanity checking for TI info pointer

Add some nullptr checks for TI info. An earlier commit should ensure
that this pointer is never null however during debug it proved useful
to verify this in a few places.

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

show more ...


# b24b220a 08-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Provide default TI info for hypervisor TI

If TI info is not available for some reason we provide default TI info
data so that we can be consistent in our error logging.

Signed-off-by: Ben Tyn

Attn: Provide default TI info for hypervisor TI

If TI info is not available for some reason we provide default TI info
data so that we can be consistent in our error logging.

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

show more ...


# fb190545 06-Nov-2020 Ben Tyner <ben.tyner@ibm.com>

Attn: Cleanup trace messages

Cleanup attention handler debug trace messages.

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


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

Return code cleanup

Moved attention handler return codes to hpp file and removed their
usage in the analyzer code since technically the analyzer is a
seperate library.

Signed-off-by: Ben Tyner <ben

Return code cleanup

Moved attention handler return codes to hpp file and removed their
usage in the analyzer code since technically the analyzer is a
seperate library.

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

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


# b481d905 05-Mar-2020 Ben Tyner <ben.tyner@ibm.com>

Add attention event handling priority logic

All active attention events are gathered and prioritized and the highest
priority event is handled.

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

Add attention event handling priority logic

All active attention events are gathered and prioritized and the highest
priority event is handled.

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

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