Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
err_ev6.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <asm/io.h>
#include <asm/irq_regs.h>
#include <asm/hwrpb.h>
#include <asm/smp.h>
#include <asm/err_common.h>
#include <asm/err_ev6.h>
#include "err_impl.h"
#include "proto.h"

Go to the source code of this file.

Macros

#define EV6__I_STAT__PAR   (1UL << 29)
 
#define EV6__I_STAT__ERRMASK   (EV6__I_STAT__PAR)
 
#define EV6__MM_STAT__DC_TAG_PERR   (1UL << 10)
 
#define EV6__MM_STAT__ERRMASK   (EV6__MM_STAT__DC_TAG_PERR)
 
#define EV6__D_STAT__TPERR_P0   (1UL << 0)
 
#define EV6__D_STAT__TPERR_P1   (1UL << 1)
 
#define EV6__D_STAT__ECC_ERR_ST   (1UL << 2)
 
#define EV6__D_STAT__ECC_ERR_LD   (1UL << 3)
 
#define EV6__D_STAT__SEO   (1UL << 4)
 
#define EV6__D_STAT__ERRMASK
 
#define EV6__C_STAT__BC_PERR   (0x01)
 
#define EV6__C_STAT__DC_PERR   (0x02)
 
#define EV6__C_STAT__DSTREAM_MEM_ERR   (0x03)
 
#define EV6__C_STAT__DSTREAM_BC_ERR   (0x04)
 
#define EV6__C_STAT__DSTREAM_DC_ERR   (0x05)
 
#define EV6__C_STAT__PROBE_BC_ERR0   (0x06) /* both 6 and 7 indicate... */
 
#define EV6__C_STAT__PROBE_BC_ERR1   (0x07) /* ...probe bc error. */
 
#define EV6__C_STAT__ISTREAM_MEM_ERR   (0x0B)
 
#define EV6__C_STAT__ISTREAM_BC_ERR   (0x0C)
 
#define EV6__C_STAT__DSTREAM_MEM_DBL   (0x13)
 
#define EV6__C_STAT__DSTREAM_BC_DBL   (0x14)
 
#define EV6__C_STAT__ISTREAM_MEM_DBL   (0x1B)
 
#define EV6__C_STAT__ISTREAM_BC_DBL   (0x1C)
 
#define EV6__C_STAT__SOURCE_MEMORY   (0x03)
 
#define EV6__C_STAT__SOURCE_BCACHE   (0x04)
 
#define EV6__C_STAT__SOURCE__S   (0)
 
#define EV6__C_STAT__SOURCE__M   (0x07)
 
#define EV6__C_STAT__ISTREAM__S   (3)
 
#define EV6__C_STAT__ISTREAM__M   (0x01)
 
#define EV6__C_STAT__DOUBLE__S   (4)
 
#define EV6__C_STAT__DOUBLE__M   (0x01)
 
#define EV6__C_STAT__ERRMASK   (0x1F)
 
#define EV6__C_STS__SHARED   (1 << 0)
 
#define EV6__C_STS__DIRTY   (1 << 1)
 
#define EV6__C_STS__VALID   (1 << 2)
 
#define EV6__C_STS__PARITY   (1 << 3)
 

Functions

void ev6_register_error_handlers (void)
 
int ev6_process_logout_frame (struct el_common *mchk_header, int print)
 
void ev6_machine_check (unsigned long vector, unsigned long la_ptr)
 

Macro Definition Documentation

#define EV6__C_STAT__BC_PERR   (0x01)
#define EV6__C_STAT__DC_PERR   (0x02)
#define EV6__C_STAT__DOUBLE__M   (0x01)
#define EV6__C_STAT__DOUBLE__S   (4)
#define EV6__C_STAT__DSTREAM_BC_DBL   (0x14)
#define EV6__C_STAT__DSTREAM_BC_ERR   (0x04)
#define EV6__C_STAT__DSTREAM_DC_ERR   (0x05)
#define EV6__C_STAT__DSTREAM_MEM_DBL   (0x13)
#define EV6__C_STAT__DSTREAM_MEM_ERR   (0x03)
#define EV6__C_STAT__ERRMASK   (0x1F)
#define EV6__C_STAT__ISTREAM__M   (0x01)
#define EV6__C_STAT__ISTREAM__S   (3)
#define EV6__C_STAT__ISTREAM_BC_DBL   (0x1C)
#define EV6__C_STAT__ISTREAM_BC_ERR   (0x0C)
#define EV6__C_STAT__ISTREAM_MEM_DBL   (0x1B)
#define EV6__C_STAT__ISTREAM_MEM_ERR   (0x0B)
#define EV6__C_STAT__PROBE_BC_ERR0   (0x06) /* both 6 and 7 indicate... */
#define EV6__C_STAT__PROBE_BC_ERR1   (0x07) /* ...probe bc error. */
#define EV6__C_STAT__SOURCE__M   (0x07)
#define EV6__C_STAT__SOURCE__S   (0)
#define EV6__C_STAT__SOURCE_BCACHE   (0x04)
#define EV6__C_STAT__SOURCE_MEMORY   (0x03)
#define EV6__C_STS__DIRTY   (1 << 1)
#define EV6__C_STS__PARITY   (1 << 3)
#define EV6__C_STS__SHARED   (1 << 0)
#define EV6__C_STS__VALID   (1 << 2)
#define EV6__D_STAT__ECC_ERR_LD   (1UL << 3)
#define EV6__D_STAT__ECC_ERR_ST   (1UL << 2)
#define EV6__D_STAT__ERRMASK
Value:
EV6__D_STAT__TPERR_P1 | \
EV6__D_STAT__ECC_ERR_ST | \
EV6__D_STAT__ECC_ERR_LD | \
EV6__D_STAT__SEO)
#define EV6__D_STAT__SEO   (1UL << 4)
#define EV6__D_STAT__TPERR_P0   (1UL << 0)
#define EV6__D_STAT__TPERR_P1   (1UL << 1)
#define EV6__I_STAT__ERRMASK   (EV6__I_STAT__PAR)
#define EV6__I_STAT__PAR   (1UL << 29)
#define EV6__MM_STAT__DC_TAG_PERR   (1UL << 10)
#define EV6__MM_STAT__ERRMASK   (EV6__MM_STAT__DC_TAG_PERR)

Function Documentation

void ev6_machine_check ( unsigned long  vector,
unsigned long  la_ptr 
)

Definition at line 234 of file err_ev6.c.

int ev6_process_logout_frame ( struct el_common mchk_header,
int  print 
)

Definition at line 187 of file err_ev6.c.

void ev6_register_error_handlers ( void  )

Definition at line 181 of file err_ev6.c.