aerdrv: Enhanced AER logging
authorLance Ortiz <lance.ortiz@hp.com>
Thu, 3 Jan 2013 22:34:08 +0000 (15:34 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 3 Jan 2013 22:34:06 +0000 (14:34 -0800)
commit1d5210008bd3a26daf4b06aed9d6c330dd4c83e2
treedae434fdd145b772b77f003ecb8237cb04c53b79
parent1ca1d8d54f925ad0eb6d9806ecd4309738f25301
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>
drivers/acpi/apei/cper.c
drivers/pci/pcie/aer/aerdrv_errprint.c
include/linux/aer.h