ppc64-diag
Data Structures | Functions | Variables
eeh.c File Reference
#include <stdio.h>
#include <string.h>
#include <librtasevent.h>
#include "rtas_errd.h"

Data Structures

struct  event_desc
 Definition for a SRC value and its corresponding description. More...
 

Functions

void check_eeh (struct event *event)
 Check a RTAS event for EEH event notification. More...
 

Variables

struct event_desc event_descs []
 Array of event_desc structs for the SRC values to search in an EEH related RTAS event. More...
 

Function Documentation

void check_eeh ( struct event event)

check_eeh Parse a RTAS event to see if this is an EEH event notification. If so, then update the platform log file with additional information about the EEH event.

Parameters
eventpointer to the RTAS event

References event::addl_text, ADDL_TEXT_MAX, event_desc::desc, log_msg(), platform_log_write(), event::rtas_event, and event_desc::src_code.

Referenced by handle_rtas_event().

Variable Documentation

event_descs
Initial value:
= {
{"BA188001", "EEH recovered a failing I/O adapter"},
{"BA188002", "EEH could not recover the failed I/O adapter"},
{"BA180010", "PCI probe error, bridge in freeze state"},
{"BA180011", "PCI bridge probe error, bridge is not usable"},
{"BA180012", "PCI device runtime error, bridge in freeze state"},
{NULL, NULL}
}