History log of /openbmc/openpower-hw-diags/attn/attn_logging.cpp (Results 1 – 25 of 44)
Revision Date Author Comments
# 85d42b14 01-Feb-2025 Patrick Williams <patrick@stwcx.xyz>

clang-format: update latest spec and reformat

Copy the latest format file from the docs repository and apply.

Change-Id: Ib39cb456455540a298bd1f4327e308665f30f201
Signed-off-by: Patrick Williams <p

clang-format: update latest spec and reformat

Copy the latest format file from the docs repository and apply.

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

show more ...


# a0c724d3 16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

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

show more ...


# 4d3f093a 01-Apr-2024 Zane Shelley <zshelle@us.ibm.com>

Revert "Add level 2 callout to TI logs"

This reverts commit 60cb2e4277759661f9054d263cc877dc7fa406ed.

Change-Id: I707dcb5502ac43c38ad80f13e60afb2d09cbf711
Signed-off-by: Zane Shelley <zshelle@us.ib

Revert "Add level 2 callout to TI logs"

This reverts commit 60cb2e4277759661f9054d263cc877dc7fa406ed.

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

show more ...


# 169c4d78 01-Apr-2024 Zane Shelley <zshelle@us.ibm.com>

Revert "Fix TI level 2 callout to use FFDCFormat::JSON instead of Custom"

This reverts commit 216ff9f1e5b1563c571aa41ff7412420d00a0c01.

Change-Id: Ied752866f76a83b8da4d7577d363175a6f06c475
Signed-o

Revert "Fix TI level 2 callout to use FFDCFormat::JSON instead of Custom"

This reverts commit 216ff9f1e5b1563c571aa41ff7412420d00a0c01.

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

show more ...


# 216ff9f1 26-Mar-2024 Caleb Palmer <cnpalmer@us.ibm.com>

Fix TI level 2 callout to use FFDCFormat::JSON instead of Custom

Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: Ia8f59f69a4e1fa76d38e6eed00cc3da9cc609d2e


# 60cb2e42 28-Feb-2024 Zane Shelley <zshelle@us.ibm.com>

Add level 2 callout to TI logs

Hostboot requested this just in case any of their log fail to produce a
hidden SRC.

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

Add level 2 callout to TI logs

Hostboot requested this just in case any of their log fail to produce a
hidden SRC.

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

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


# 21cc6270 05-Oct-2022 Ben Tyner <ben.tyner@ibm.com>

Capture PRD scratch registers in attention handler

PRD uses some scratch registers to debug scenarios when analysis
may have been interrupted. Attention handler will capture these
registers in case

Capture PRD scratch registers in attention handler

PRD uses some scratch registers to debug scenarios when analysis
may have been interrupted. Attention handler will capture these
registers in case the analyzer does not.

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

show more ...


# b82cbf75 27-Jun-2022 Zane Shelley <zshelle@us.ibm.com>

Update to clang-format-14

Required because the Jenkins CI tools have moved to v14.

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


# 67b8229b 25-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

trace cleanup for CI script on Ubuntu PPC machines

The Jenkins CI script on Ubuntu 20.04 (ppc64le), threw some errors that
forbids converting a string constant {aka 'char*'} to 'va_list'.

Signed-of

trace cleanup for CI script on Ubuntu PPC machines

The Jenkins CI script on Ubuntu 20.04 (ppc64le), threw some errors that
forbids converting a string constant {aka 'char*'} to 'va_list'.

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

show more ...


# c49d20b9 22-Feb-2022 austinfcui <austinfcui@gmail.com>

attn PEL additional-data map access cleanup

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


# ac5bd05c 03-Mar-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Add support for hbNotVisibleFlag in TI info

Hostboot defined a new flag in the TI info data. This flag is used to
indicate to the attention handler that a PEL created by attention
handler for

attn: Add support for hbNotVisibleFlag in TI info

Hostboot defined a new flag in the TI info data. This flag is used to
indicate to the attention handler that a PEL created by attention
handler for a TI with SRC event should have the hidden-flag set in the
action flags.

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

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


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

attn: Moved journal ffdc support into util library

Moved the code for collectiong journal entries for event log FFDC data
from attention handler to util library.

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

attn: Moved journal ffdc support into util library

Moved the code for collectiong journal entries for event log FFDC data
from attention handler to util library.

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

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


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


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

Signed-

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


# 7f6ce6ac 17-Aug-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Self boot engine (SBE) attention support

When an SBE vital attention is detected a plateform event log entry will
be created and an SBE dump will be requested. A request to transition
the host

Attn: Self boot engine (SBE) attention support

When an SBE vital attention is detected a plateform event log entry will
be created and an SBE dump will be requested. A request to transition
the host will be issued once the dump is completed.

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

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 dependent on
the res

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


# 6bc43c9b 27-May-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Fix attn handler crash when cfam read fails

When attention handler encounters an error while handling attentions it
will generate a PEL to track these errors. There was a bug in the code
causi

Attn: Fix attn handler crash when cfam read fails

When attention handler encounters an error while handling attentions it
will generate a PEL to track these errors. There was a bug in the code
causing attention handler to think it was handling a TI and try to
determine the subsystem (hostboot or phyp) which is only valid in a real
TI PEL case. The result was a stoi() on an invalid subsystem id.

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

show more ...


# 5c5db65a 22-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Dump request and monitoring support

Support for requesting a dump from the dump manager and monitoring the
dump progress.

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

Attn: Dump request and monitoring support

Support for requesting a dump from the dump manager and monitoring the
dump progress.

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

show more ...


12