OSDN Git Service

PCI/AER: Clear device status bits during ERR_FATAL and ERR_NONFATAL
authorOza Pawandeep <poza@codeaurora.org>
Thu, 19 Jul 2018 22:58:09 +0000 (17:58 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Jul 2018 20:27:11 +0000 (15:27 -0500)
commitec752f5d54d723af3df03959637f963079643cd8
tree0971a3766e29d77ff89e963b551d429cb7c6f0ef
parent43ec03a9e5f382ff70fdef35b4ea813263cd8270
PCI/AER: Clear device status bits during ERR_FATAL and ERR_NONFATAL

Clear the device status bits while handling both ERR_FATAL and ERR_NONFATAL
cases.

Signed-off-by: Oza Pawandeep <poza@codeaurora.org>
[bhelgaas: rename to pci_aer_clear_device_status(), declare internal to PCI
core instead of exposing it everywhere]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
drivers/pci/pcie/aer.c
drivers/pci/pcie/err.c