]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05df970eaa4eed28ed48769977ee0186cac83db8
treee130ef65546604ea13cde7a60988bb5d7ebcf628
parenta3b9c9789534cdffb1519b3f81e76bc8e7610c8c
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