summaryrefslogtreecommitdiffstats
path: root/include/linux/aer.h
diff options
context:
space:
mode:
authorLance Ortiz <lance.ortiz@hp.com>2013-01-03 15:34:08 -0700
committerTony Luck <tony.luck@intel.com>2013-01-03 14:34:06 -0800
commit1d5210008bd3a26daf4b06aed9d6c330dd4c83e2 (patch)
treedae434fdd145b772b77f003ecb8237cb04c53b79 /include/linux/aer.h
parent1ca1d8d54f925ad0eb6d9806ecd4309738f25301 (diff)
downloadop-kernel-dev-1d5210008bd3a26daf4b06aed9d6c330dd4c83e2.zip
op-kernel-dev-1d5210008bd3a26daf4b06aed9d6c330dd4c83e2.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h
index 544abdb..ec10e1b 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);
OpenPOWER on IntegriCloud