History log of /openbmc/openpower-hw-diags/attn/ (Results 26 – 50 of 148)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8b10d69908-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

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

show more ...

3a80c98321-Oct-2022 Ben Tyner <ben.tyner@ibm.com>

Attn: Add ten second delay during SBE attention handling

A 10 second wait is introduced in the attention handler
path when a SBE attention is detected. This wait has been
shown to be adequate to all

Attn: Add ten second delay during SBE attention handling

A 10 second wait is introduced in the attention handler
path when a SBE attention is detected. This wait has been
shown to be adequate to allow the power fault handling
logic to commit a PEL and gracefully power down the host
before the SBE attention is handled. The SBE attention
handling will be preempted by the host power down sequence.
No SBE attention PEL will be committed.

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

show more ...

d04d642323-Mar-2022 Ben Tyner <ben.tyner@ibm.com>

Attn: Update and revise attention handler markdown

Updated the markdown document to reflect more accurately and with more
detail the attention handler design.

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

Attn: Update and revise attention handler markdown

Updated the markdown document to reflect more accurately and with more
detail the attention handler design.

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

show more ...

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

4e4582ba01-Apr-2022 Zane Shelley <zshelle@us.ibm.com>

Stop ATTN service before instruction stop

Ensuring that ATTN service is stopped after PHYP has completed the power
off process. PHYP must be done before starting instruction stop. So that
is a good

Stop ATTN service before instruction stop

Ensuring that ATTN service is stopped after PHYP has completed the power
off process. PHYP must be done before starting instruction stop. So that
is a good target to use.

Tested: Verify that during soft-off attention handler will service
attentions (inject error during graceful shutdown).

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

show more ...

e212fb0622-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t

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

show more ...

a9f8559028-Jun-2022 Ben Tyner <ben.tyner@ibm.com>

Attention handler configuration file support

The default behavior of the attention handler can be overriden by
modifying the config file contents. The behavior can also be defined
by the associated

Attention handler configuration file support

The default behavior of the attention handler can be overriden by
modifying the config file contents. The behavior can also be defined
by the associated build option. The default behavior remains
unchanged. The intent of this change is to allow other components to
change the attention handler behavior by updating the configuration file
and restarting the attention handler service.

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

show more ...

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

4efca28010-Jun-2022 Andrew Geissler <geissonator@yahoo.com>

include what you use (array)

New yocto rebase compiler has been failing on missing includes so add
them in.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iebd2fcc5d248528e04d3c5

include what you use (array)

New yocto rebase compiler has been failing on missing includes so add
them in.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iebd2fcc5d248528e04d3c58b4d4ecd2f5694f4aa

show more ...

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

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

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

9cdfa24724-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

Limit test_arg to test code

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

ebddb42122-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

Formatting error in Hostboot scratch reg traces

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

c49d20b922-Feb-2022 austinfcui <austinfcui@gmail.com>

attn PEL additional-data map access cleanup

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

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

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

5d835ec902-Mar-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Make attn handler restart less restrictive

Return back to the default service restart limit behavior which is
is a maximum of two failures within 30 seconds before the
attention handler is con

attn: Make attn handler restart less restrictive

Return back to the default service restart limit behavior which is
is a maximum of two failures within 30 seconds before the
attention handler is considered failed. This change is needed as it
seems that the restart count is incremented for every restart not just
the restart after failure. Making the restart more restrictive had the
side effect of the attention handler reaching the restart limit if the
host was restarted more than two times in 10 minutes even though the
attention handler was not restarted due to failure.

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

show more ...

e38a90bd02-Mar-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Add dump request timeout

The attention handler will wait up to 1 hour for a dump to complete.
This avoids a potential endless wait for a dump status change in the
case where the dump manager i

attn: Add dump request timeout

The attention handler will wait up to 1 hour for a dump to complete.
This avoids a potential endless wait for a dump status change in the
case where the dump manager is unable to update the status.

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

show more ...

9e4d190622-Feb-2022 austinfcui <austinfcui@gmail.com>

Fix pel_minimal constructur initialization warning messages

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

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

42260bc316-Feb-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Changed dbus method wrapper to use util

The attention handler dbus method wrapper was changed to use the util
dbus find service function to find the dbus service for the method.

Signed-off-by

attn: Changed dbus method wrapper to use util

The attention handler dbus method wrapper was changed to use the util
dbus find service function to find the dbus service for the method.

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

show more ...

a098210f16-Feb-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Remove dbus method wrapper extended support

The attention handler dbus method wrapper function allowed for
specifying an extended function parameter for things like get property.
This is no lo

attn: Remove dbus method wrapper extended support

The attention handler dbus method wrapper function allowed for
specifying an extended function parameter for things like get property.
This is no longer being used and was removed.

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

show more ...

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

444fa1c008-Feb-2022 austinfcui <austinfcui@gmail.com>

Attention handler stringstream refactor

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

123456