History log of /openbmc/openpower-hw-diags/attn/ti_handler.cpp (Results 1 – 25 of 39)
Revision Date Author Comments
# 710101c0 13-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

prefer std::format over fmt

Switch to use std::format and remove the fmt dependency.

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


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


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


# 444fa1c0 08-Feb-2022 austinfcui <austinfcui@gmail.com>

Attention handler stringstream refactor

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


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

Attention handler trace message refactor

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


# 86aa97a5 12-Dec-2021 Ben Tyner <ben.tyner@ibm.com>

attn: Always request a dump for TI with SRC

Attention handler should only honor the TI info hostboot dump flag for
TI with EID. For TI with SRC case always request a dump.

Signe

attn: Always request a dump for TI with SRC

Attention handler should only honor the TI info hostboot dump flag for
TI with EID. For TI with SRC case always request a dump.

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

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.

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


# 39fcf65d 19-Oct-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Qualify MPIPL request with dump policy

Check the value of the dumpPolicyEnabled property and if it is true
(dumps enabled) then request MPIPL for PHYP TI cases, otherwise quiesce

Attn: Qualify MPIPL request with dump policy

Check the value of the dumpPolicyEnabled property and if it is true
(dumps enabled) then request MPIPL for PHYP TI cases, otherwise quiesce
the host.

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

show more ...


# 0f481a44 19-Oct-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Properly handle hostboot TI with EID/PLID

Terminate events from hostboot with EID/PLID already have a log
committed so attention handler does not need to generate a PEL.

S

Attn: Properly handle hostboot TI with EID/PLID

Terminate events from hostboot with EID/PLID already have a log
committed so attention handler does not need to generate a PEL.

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

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


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

util::dbus: Make common the autorebootEnabled code

Move the code for checking autoreboot property from attention handler
specific code to common utility dbus code.

Signed-off-by

util::dbus: Make common the autorebootEnabled code

Move the code for checking autoreboot property from attention handler
specific code to common utility dbus code.

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

show more ...


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

util::dbus: Make common the transition host support

Move transition host support from attention handler specific code to
common util code.

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

util::dbus: Make common the transition host support

Move transition host support from attention handler specific code to
common util code.

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

show more ...


# 8539ee6b 21-Jul-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Change dump request parameter to integer

The dump request interface is changing from requiring the event log id
to be passed as a string to requiring the event log id to be passed

Attn: Change dump request parameter to integer

The dump request interface is changing from requiring the event log id
to be passed as a string to requiring the event log id to be passed as a
64-bit integer.

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

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


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

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


# feeea83b 06-Apr-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Add support for raw pel symptom-id

Update raw pel symptom-id based on TI info data.

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

Attn: Add support for raw pel symptom-id

Update raw pel symptom-id based on TI info data.

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

show more ...


# 063f6bdc 26-Mar-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Submit event logs before transitioning host

For terminating events we will generate and submit the events logs
before we request to transition the host.

Signed-off-by: Ben

Attn: Submit event logs before transitioning host

For terminating events we will generate and submit the events logs
before we request to transition the host.

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

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


# 6764d70e 12-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Limit trace length messages

Limit trace length messages specifically for exception messages which
tend to be long.

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

Attn: Limit trace length messages

Limit trace length messages specifically for exception messages which
tend to be long.

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

show more ...


# 9d4f91cd 09-Feb-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Treat HB primary src as hex not ascii

When retrieving the HB primary src from TI info the field needs to be
treated as hex (versus ascii in hypervisor case).

Signed-off-by

Attn: Treat HB primary src as hex not ascii

When retrieving the HB primary src from TI info the field needs to be
treated as hex (versus ascii in hypervisor case).

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

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


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


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

Attn: Fix non-null-terminated string in ti handler

When copying ascii data from ti info data the resulting string was not
being null-terminated.

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

Attn: Fix non-null-terminated string in ti handler

When copying ascii data from ti info data the resulting string was not
being null-terminated.

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

show more ...


12