792f32f7 | 02-Jun-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Add support for Get TI Info chipop
Use the Get TI Info chipop to determine if a special attention was due to a TI or a breakpoint.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I256dcf117
Add support for Get TI Info chipop
Use the Get TI Info chipop to determine if a special attention was due to a TI or a breakpoint.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I256dcf1171c27e851032353226c174307105cd0a
show more ...
|
f480b739 | 11-Jun-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Default to libhei subproject if library not installed
Change-Id: I66d66a2d0df4bd071a951ba775c22aca4310fd92 Signed-off-by: Zane Shelley <zshelle@us.ibm.com> |
097a71ad | 08-Jun-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Filter for root cause attention in analyzer
Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: Ie9abf7de093140316bf30d7a2c11799a3654192c |
d70033a5 | 09-Jun-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Check for pending active attentions
When the attention handler is starting check for active attentions that may have occurred before the attention handler was started.
Also removed extra call to pd
Check for pending active attentions
When the attention handler is starting check for active attentions that may have occurred before the attention handler was started.
Also removed extra call to pdbg_targets_init.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ibd7bd7ecc8c5287011c83b778ac4d9a55b78c0c6
show more ...
|
2e994bcd | 08-Jun-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Analyzer function to initialize isolator
Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: Ie31f81caa8d119f93362fe2c3b27c8775ca4eae7 |
d84ed6e9 | 08-Jun-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Analyzer function to get active chips and types
Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: Iec1960f6a0ae26e2b54fd8d8bfc08dd8e5793649 |
0c44c2fe | 05-Jun-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Create a tracing util wrapper
Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: I032b6137921ea06c3ea1f927521731648d68c230 |
87eabc65 | 14-May-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Hardware error analyzer for checkstop analyses
When a checkstop occurs the attention handler will use the hardware error isolator to gather information pertaining to the error condition(s).
Signed-
Hardware error analyzer for checkstop analyses
When a checkstop occurs the attention handler will use the hardware error isolator to gather information pertaining to the error condition(s).
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: If933be6bddfc653edf0ed3db660c32d3aae04c5f
show more ...
|
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 ...
|
b1ebfcb1 | 08-May-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Platform Event Log (PEL) generation support added
Attention events will now generate an associated PEL
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I8d2c73657cc7eced93e6465c391c0a600c427
Platform Event Log (PEL) generation support added
Attention events will now generate an associated PEL
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I8d2c73657cc7eced93e6465c391c0a600c4278fa
show more ...
|
0523f8ac | 14-May-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Implement hei user interface registerRead
Read a register using the pdbg library pib_read() which is a scom-read operation.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I894ae5fe83112fa1
Implement hei user interface registerRead
Read a register using the pdbg library pib_read() which is a scom-read operation.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I894ae5fe83112fa140474ed2bc723beb2778c648
show more ...
|
cac5dc65 | 03-Jun-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Update to clang-format 10
Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: I00e9f909477b257d689308da03ab95dc6eb5ac35 |
117af99b | 22-May-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Find attention gpio rather than hard code value
Find the attention gpio by line-name (checkstop) rather than by chip and pin number. This allows the attention handler to work on platforms with the a
Find attention gpio rather than hard code value
Find the attention gpio by line-name (checkstop) rather than by chip and pin number. This allows the attention handler to work on platforms with the attention signal tied to different GPIO's.
Also fixed issue of pdbg targets not getting initialized when attention handler is built to run in no-listener mode (build option nlmode, the default for now).
Added/changed a few trace messages to aid in future debugging.
Changed build to not link to libpdbg using "whole-archive" strategy as it does not seem to be needed anymore.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Id355ce03b716cb0c86bc3418264295dcc60aabef
show more ...
|
b859d79a | 06-May-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Remove openpower-libhei subproject dependency
Statically link to openpower-libhei rather than building it as a subproject.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ifc1be912ef484c0c7
Remove openpower-libhei subproject dependency
Statically link to openpower-libhei rather than building it as a subproject.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ifc1be912ef484c0c7a1157ac0c9b90a62e03d9c7
show more ...
|
b78dd0cd | 08-May-2020 |
Zane Shelley <zshelle@us.ibm.com> |
Updates to HEI user intefaces
Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: Ic146ae7d212df4cc5be876b636481ba908c130b6 |
d3cda742 | 04-May-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Add build option to disable daemon control via IPC
Added a build option (nlmode) to disable the attention handler runtime control support (IPC). Until the IPC based start/stop controls are working c
Add build option to disable daemon control via IPC
Added a build option (nlmode) to disable the attention handler runtime control support (IPC). Until the IPC based start/stop controls are working correctly the build will default to nlmode enabled. The attention handler can still be stopped and started via normal systemctl methods.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I8913fb441fd696d81ffc04b464601238068c3131
show more ...
|
72feadcf | 06-Apr-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Moved configuration handling into cli handler code
Cleanup: moved the updating of configuration object to command line handling code to remove some single-use booleans.
Signed-off-by: Ben Tyner <be
Moved configuration handling into cli handler code
Cleanup: moved the updating of configuration object to command line handling code to remove some single-use booleans.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I503e72c07b35a1537d93241a26a92f87854ba105
show more ...
|
8c2f8b24 | 27-Mar-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Added IPC support to attention handler
Created a listener thread that configures and starts the attention gpio monitor. The listener remains resident in memory and accepts run-time commands to confi
Added IPC support to attention handler
Created a listener thread that configures and starts the attention gpio monitor. The listener remains resident in memory and accepts run-time commands to configure (or stop) the attention handler.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I032fe25a49d43d91a1f7d41cc34318839cd7de05
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 ...
|
7212d21d | 31-Mar-2020 |
Ben Tyner <ben.tyner@ibm.com> |
CLI support code seperated from main
Command line interface handling code was moved to its own files.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ib547152af2dc5dcc2d595cf26dab65605ea2c3
CLI support code seperated from main
Command line interface handling code was moved to its own files.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ib547152af2dc5dcc2d595cf26dab65605ea2c32f
show more ...
|
9dbab8be | 31-Mar-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Log message cleanup
Removed std::endl from log messages.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Iec49cfb9d1c6fef8bdea2c88e203c45093e2973d |
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 ...
|
cf0e074e | 09-Apr-2020 |
Ben Tyner <bentyner@linux.ibm.com> |
Change libhei.wrap to address the correct repo.
The libhei.wrap url was using the Gerrit repo when it should be using the github repo.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ic30ed
Change libhei.wrap to address the correct repo.
The libhei.wrap url was using the Gerrit repo when it should be using the github repo.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Ic30ede52216d81716886ebcd407e2443f9242da8
show more ...
|
9ae5ca41 | 28-Feb-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Added end2end test case
Added end2end test case for exercising code from attention event to isolator.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I5bde1c50e4b70e284e99e71bb69d55041310c0
Added end2end test case
Added end2end test case for exercising code from attention event to isolator.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I5bde1c50e4b70e284e99e71bb69d55041310c0d0
show more ...
|
0205f3b3 | 24-Feb-2020 |
Ben Tyner <ben.tyner@ibm.com> |
Combine attn handler and openpower hwdiags
The main binary is now openpower-hw-diags. This application will take a command line option --daemon to load it as a daemon. As a daemon it will register t
Combine attn handler and openpower hwdiags
The main binary is now openpower-hw-diags. This application will take a command line option --daemon to load it as a daemon. As a daemon it will register the attention handler portion of application as the attention gpio event handler. If the application is not loaded as a daemon it will operate as a stand alone application which accepts command line options for requesting hardware analyses and diagnostics operations.
Change-Id: I6210b744cb320873d74a0757928f904ca6296846 Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
show more ...
|