diff options
author | Lance Ortiz <lance.ortiz@hp.com> | 2013-01-04 02:34:08 +0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-01-04 02:34:06 +0400 |
commit | 1d5210008bd3a26daf4b06aed9d6c330dd4c83e2 (patch) | |
tree | dae434fdd145b772b77f003ecb8237cb04c53b79 /include/linux/aer.h | |
parent | 1ca1d8d54f925ad0eb6d9806ecd4309738f25301 (diff) | |
download | linux-1d5210008bd3a26daf4b06aed9d6c330dd4c83e2.tar.xz |
aerdrv: Enhanced AER logging
This patch will provide a more reliable and easy way for user-space
applications to have access to AER logs rather than reading them from the
message buffer. It also provides a way to notify user-space when an AER
event occurs.
The aer driver is updated to generate a trace event of function 'aer_event'
when a PCIe error is reported over the AER interface. The trace event was
added to both the interrupt based aer path and the firmware first path.
Signed-off-by: Lance Ortiz <lance.ortiz@hp.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Boris Petkov <bp@alien8.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/linux/aer.h')
-rw-r--r-- | include/linux/aer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h index 544abdb2238c..ec10e1b24c1c 100644 --- a/include/linux/aer.h +++ b/include/linux/aer.h @@ -49,8 +49,8 @@ static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev) } #endif -extern void cper_print_aer(const char *prefix, int cper_severity, - struct aer_capability_regs *aer); +extern void cper_print_aer(const char *prefix, struct pci_dev *dev, + int cper_severity, struct aer_capability_regs *aer); extern int cper_severity_to_aer(int cper_severity); extern void aer_recover_queue(int domain, unsigned int bus, unsigned int devfn, int severity); |