PCI/DPC: Print AER status in DPC event handling
authorKeith Busch <keith.busch@intel.com>
Mon, 16 Jul 2018 22:05:05 +0000 (17:05 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 21:21:01 +0000 (16:21 -0500)
commit8aefa9b0d9105d70eb8799d2b4feffd784e22bae
treee130ef65546604ea13cde7a60988bb5d7ebcf628
parentf1d16b17568e46f61cc59e2d0725b0fca856a34f
PCI/DPC: Print AER status in DPC event handling

A DPC enabled device suppresses ERR_(NON)FATAL messages, preventing the AER
handler from reporting error details.  If the DPC trigger reason says the
downstream port detected the error, collect the AER uncorrectable status
for logging, then clear the status.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
drivers/pci/pcie/dpc.c