1# Hardware Error Attention Handling for POWER Systems 2 3Attentions are host error and debug breakpoint conditions that can be handled 4by software running on the BMC. The host alerts the BMC of these conditions 5via the Attention GPIO pin. The Attention Handler application (ATTN) monitors 6this gpio for activity and services active attentions. When activity is 7detected on the Attention GPIO, ATTN will query the hardware to determine the 8active attention that needs to be serviced. 9 10## Attention Handler Logic 11The following logic is implemented in ATTN to allow for controlling the flow 12of attention handling once an attention event has been detected. 13 14- ATTN can adjust the handling priority of active attention events. 15 16- ATTN can choose to defer or ignore handling of attention events. 17 18- ATTN can handle any number of active attentions per GPIO event. 19 20- ATTN can continue monitoring or stop monitoring the attention GPIO. 21 22## Attention Conditions 23The following is a list of attention conditions and actions. 24 251. SBE Attention (vital): This attention indicates that the SBE is in a state 26 that is considered non-functional. ATTN will log this event and *...TBD* 27 282. System Checkstop (checkstop): This attention indicates an error condition 29 in which the host cannot continue operating properly. ATTN will launch the 30 Hardware Diagnostics application (Hwdiags) and may provide Hwdiags with 31 information needed to help it analyze the checkstop *...TBD* 32 333. Special Attention (special): This attention indicates that one of the 34 following conditions has occurred. 35 36 - PHYP Breakpoint (breakpoint): ATTN will send notification with the 37 processor, core and thread number associated with the event. 38 39 - PHYP Terminate Immediate (PHYP TI): ATTN will dump and re-ipl. 40 41 - OPAL Terminate Immediate (OPAL TI): ATTN will dump and re-ipl. 42 43 - Core Code to SP (PHYP CoreCode): ATTN will log this event. 44 45 - Other (instruction stop, core recovery handshake): Attention will log 46 these events. 47 48##Command Line Interface 49 50ATTN supports the following command line interface *...TBD* 51 52##Building 53 54This application is built using the standard Meson/Ninja build setup. 55 56 meson build && cd build && ninja 57