Linux Kernel
3.7.1
|
#include <linux/workqueue.h>
#include <linux/pcieport_if.h>
#include <linux/aer.h>
#include <linux/interrupt.h>
Go to the source code of this file.
Data Structures | |
struct | aer_err_info |
struct | aer_err_source |
struct | aer_rpc |
struct | aer_broadcast_data |
Macros | |
#define | AER_NONFATAL 0 |
#define | AER_FATAL 1 |
#define | AER_CORRECTABLE 2 |
#define | SYSTEM_ERROR_INTR_ON_MESG_MASK |
#define | ROOT_PORT_INTR_ON_MESG_MASK |
#define | ERR_COR_ID(d) (d & 0xffff) |
#define | ERR_UNCOR_ID(d) (d >> 16) |
#define | AER_ERROR_SOURCES_MAX 100 |
#define | AER_LOG_TLP_MASKS |
#define | AER_MAX_MULTI_ERR_DEVICES 5 /* Not likely to have more */ |
Functions | |
void | aer_do_secondary_bus_reset (struct pci_dev *dev) |
int | aer_init (struct pcie_device *dev) |
void | aer_isr (struct work_struct *work) |
void | aer_print_error (struct pci_dev *dev, struct aer_err_info *info) |
void | aer_print_port_info (struct pci_dev *dev, struct aer_err_info *info) |
irqreturn_t | aer_irq (int irq, void *context) |
Variables | |
struct bus_type | pcie_port_bus_type |
#define AER_LOG_TLP_MASKS |
#define ROOT_PORT_INTR_ON_MESG_MASK |
#define SYSTEM_ERROR_INTR_ON_MESG_MASK |
aer_do_secondary_bus_reset - perform secondary bus reset : pointer to bridge's pci_dev data structure
Invoked when performing link reset at Root Port or Downstream Port.
Definition at line 363 of file aerdrv_core.c.
int aer_init | ( | struct pcie_device * | dev | ) |
aer_init - provide AER initialization : pointer to AER pcie device
Invoked when AER service driver is loaded.
Definition at line 814 of file aerdrv_core.c.
irqreturn_t aer_irq | ( | int | irq, |
void * | context | ||
) |
void aer_isr | ( | struct work_struct * | work | ) |
aer_isr - consume errors detected by root port : definition of this work item
Invoked, as DPC, when root port records new detected error
Definition at line 794 of file aerdrv_core.c.
void aer_print_error | ( | struct pci_dev * | dev, |
struct aer_err_info * | info | ||
) |
Definition at line 152 of file aerdrv_errprint.c.
void aer_print_port_info | ( | struct pci_dev * | dev, |
struct aer_err_info * | info | ||
) |
Definition at line 199 of file aerdrv_errprint.c.
Definition at line 20 of file portdrv_bus.c.