]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/AER: Unify error bit printing for native and CPER reporting
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Mon, 30 Apr 2018 19:52:15 +0000 (14:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 May 2018 22:07:21 +0000 (17:07 -0500)
commit7707f89b3fc613cd8c1094d70c1173282039a5b6
tree5580ff7e4a03cd21c704f73b5a1eab18befe257a
parent064bcb773e451d01c97b9b60772d30bcc3d5c90c
PCI/AER: Unify error bit printing for native and CPER reporting

AER errors can be reported natively (Linux AER driver fields interrupts and
reads error state directly from hardware) or via the ACPI/APEI/GHES/CPER
path (platform firmware reads error state from hardware and sends it to
Linux via ACPI interfaces).

Previously the same error would produce different output depending on
whether it was reported natively or via ACPI.  The CPER path resulted in
hard-to-understand messages, without a prefix. Instead use
__aer_print_error() for both native AER and CPER to provide a more
consistent log format.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv_errprint.c