projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec752f5
)
PCI/AER: Clear device status bits during ERR_COR handling
author
Oza Pawandeep
<poza@codeaurora.org>
Thu, 19 Jul 2018 22:58:09 +0000
(17:58 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 20 Jul 2018 20:27:12 +0000
(15:27 -0500)
In case of correctable error, the Correctable Error Detected bit in the
Device Status register is set. Clear it after handling the error.
Signed-off-by: Oza Pawandeep <poza@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pcie/aer.c
b/drivers/pci/pcie/aer.c
index 2a40b24ae4e3c293b13511b840bb1231a6a3972e..2b344c9e2d46c8aac9615e8cb1f5210e8c28876e 100644
(file)
--- a/
drivers/pci/pcie/aer.c
+++ b/
drivers/pci/pcie/aer.c
@@
-1001,6
+1001,7
@@
static void handle_error_source(struct pci_dev *dev, struct aer_err_info *info)
if (pos)
pci_write_config_dword(dev, pos + PCI_ERR_COR_STATUS,
info->status);
+ pci_aer_clear_device_status(dev);
} else if (info->severity == AER_NONFATAL)
pcie_do_nonfatal_recovery(dev);
else if (info->severity == AER_FATAL)