PCI/AER: Pass service type to pcie_do_fatal_recovery()
authorOza Pawandeep <poza@codeaurora.org>
Thu, 17 May 2018 21:44:19 +0000 (16:44 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 3 Jun 2018 00:29:26 +0000 (19:29 -0500)
commit0b91439d35550f585b49e8933fda68663ba03bb2
treea80bc2958f934863b5e217d498bd987b37cd57b2
parent6927868e7ae929f037eea973c582b870808880b6
PCI/AER: Pass service type to pcie_do_fatal_recovery()

Pass the service type to pcie_do_fatal_recovery() instead of assuming AER.
We will make DPC also use pcie_do_fatal_recovery(), and it needs to do
things a little differently for AER and DPC.

Signed-off-by: Oza Pawandeep <poza@codeaurora.org>
[bhelgaas: split to separate patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pci/pcie/err.c