History log of /openbmc/openpower-hw-diags/attn/attn_handler.cpp (Results 1 – 25 of 57)
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 ...


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


# 2b26b2bb 15-Dec-2022 Ben Tyner <ben.tyner@ibm.com>

Add power fault check to checkstop handler

If a power fault is being reported during a
checkstop condition we will not call the
analyzer.

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

Add power fault check to checkstop handler

If a power fault is being reported during a
checkstop condition we will not call the
analyzer.

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

show more ...


# d28d5f8b 28-Apr-2022 austinfcui <austinfcui@gmail.com>

Add Attn config option for clearing Attn Interrupts

Added attn config option
Added UT for attn config object
Added UT for cli that uses attn config object

Signed-off-by: austinfcui <austinfcui@gmai

Add Attn config option for clearing Attn Interrupts

Added attn config option
Added UT for attn config object
Added UT for cli that uses attn config object

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: I0e30ebf4d94de676814bf5e173691c4d1ee362cb

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


# 535a8d4a 08-Mar-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Fix incorrect trace message formatting

Some of the TI info data being traced for logging was incorrectly
formatted when trace support was changed to using the util functions.

Signed-off-by: B

attn: Fix incorrect trace message formatting

Some of the TI info data being traced for logging was incorrectly
formatted when trace support was changed to using the util functions.

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

show more ...


# 1315968c 16-Feb-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Move create pel support to util

Move the create pel support from attention handler the util library.

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

attn: Move create pel support to util

Move the create pel support from attention handler the util library.

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

show more ...


# bfa831a8 26-Jan-2022 austinfcui <austinfcui@gmail.com>

Attention handler trace message refactor

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: If86af8fb88b0ce15f6a626676a412a5cee88acc0


# 76e52f6d 01-Feb-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Collect SBE FFDC on getTiInfo chip-op fail

If the PHAL library throws an exception during the call to
getTiInfo it may provide some SBE FFDC data which the attention
handler will collect and p

attn: Collect SBE FFDC on getTiInfo chip-op fail

If the PHAL library throws an exception during the call to
getTiInfo it may provide some SBE FFDC data which the attention
handler will collect and put into an event log entry.

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

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

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


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

attn: Add wait for power fault handling

Added a 10 second delay between checkstop detection and call to analyzer
so that power fault handler logic can intervene before analyzer begins

attn: Add wait for power fault handling

Added a 10 second delay between checkstop detection and call to analyzer
so that power fault handler logic can intervene before analyzer begins
logging events.

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

show more ...


# a06dcf82 03-Nov-2021 Zane Shelley <zshelle@us.ibm.com>

include config header for use of CONFIG_PHAL_API

CONFIG_PHAL_API is defined in config.h, which was not included in
attn_handler.cpp before use of CONFIG_PHAL_API.

Change-Id: Ic5

include config header for use of CONFIG_PHAL_API

CONFIG_PHAL_API is defined in config.h, which was not included in
attn_handler.cpp before use of CONFIG_PHAL_API.

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

show more ...


# b9715179 29-Sep-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: use phal library for get TI info calls

Switch from using pdbg library sbe_mpipl_get_ti_info() to using phal
library getTiInfo() for retrieving pointer to TI info shared memory

Attn: use phal library for get TI info calls

Switch from using pdbg library sbe_mpipl_get_ti_info() to using phal
library getTiInfo() for retrieving pointer to TI info shared memory
region.

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

show more ...


# 7029e525 09-Aug-2021 Ben Tyner <ben.tyner@ibm.com>

On checkstop request dump and transition host

After checkstop analyses completes attention handler will request a dump
and the transition the host. The type of dump requested is dependen

On checkstop request dump and transition host

After checkstop analyses completes attention handler will request a dump
and the transition the host. The type of dump requested is dependent on
the results of the isolator.

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

show more ...


# fe2c50d7 23-Jul-2021 Ben Tyner <ben.tyner@ibm.com>

util::dbus: Make common the hostRunningState code

Move the code for getting the host running state from attention handler
specific code to common utility code.

Signed-off-by: Be

util::dbus: Make common the hostRunningState code

Move the code for getting the host running state from attention handler
specific code to common utility code.

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

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: I66f234b

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


# b1eda6a3 28-Jun-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

pdbg v3.3 related changes

Separate sbe api into new header libpdbg_sbe.h related
changes

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I4428d3a3d34d3032ff

pdbg v3.3 related changes

Separate sbe api into new header libpdbg_sbe.h related
changes

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I4428d3a3d34d3032ff14e03b8d66c3d7db2db632

show more ...


# 2d5c63d9 31-Mar-2021 Brian Stegmiller <steg2021@linux.vnet.ibm.com>

ATTN: Add hostboot debug regs during chkstop and TIs

Signed-off-by: Brian Stegmiller <steg2021@linux.vnet.ibm.com>
Change-Id: Ie4f35f169ce8ddefc48f7e47e1987fc12cfe8cd6


# fe15649e 08-Apr-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Remove --defaultbreakpoint add --defaultti

In order to support breakpoint handling and TI handling on systems that
did not support the get TI info interface the --defaultbreakpoint

Attn: Remove --defaultbreakpoint add --defaultti

In order to support breakpoint handling and TI handling on systems that
did not support the get TI info interface the --defaultbreakpoint
configuration option was added. This switch is no longer needed and
breakpoint handling is now the default action for available but invalid
TI info data. A new option --defaultti was added to force handling of
TI's when TI info is available but not valid.

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

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.

Sign

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 attenti

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 use

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.

Si

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


# 8882c32a 05-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Cleanup trace messages

Remove occurrances of ss.str().c_str() and use std::string in lieu of
stringstream when stringstream conveniences are not needed.

Signed-off-by: Ben

Attn: Cleanup trace messages

Remove occurrances of ss.str().c_str() and use std::string in lieu of
stringstream when stringstream conveniences are not needed.

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

show more ...


123