linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI/AER: don't call recovery process for correctable errors
@ 2017-08-28 17:09 Tyler Baicar
  2017-10-02 23:19 ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: Tyler Baicar @ 2017-08-28 17:09 UTC (permalink / raw)
  To: bhelgaas, jonathan.derrick, keith.busch, linux-pci, linux-kernel
  Cc: Tyler Baicar

Correctable errors do not need any software intervention, so
avoid calling into the software recovery process for correctable
errors.

Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
---
 drivers/pci/pcie/aer/aerdrv_core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c
index b1303b3..4765c11 100644
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -626,7 +626,8 @@ static void aer_recover_work_func(struct work_struct *work)
 			continue;
 		}
 		cper_print_aer(pdev, entry.severity, entry.regs);
-		do_recovery(pdev, entry.severity);
+		if (entry.severity != AER_CORRECTABLE)
+			do_recovery(pdev, entry.severity);
 		pci_dev_put(pdev);
 	}
 }
-- 
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-17 18:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-28 17:09 [PATCH] PCI/AER: don't call recovery process for correctable errors Tyler Baicar
2017-10-02 23:19 ` Bjorn Helgaas
2017-10-11 14:37   ` Tyler Baicar
2017-10-11 17:09     ` Bjorn Helgaas
2017-11-07 23:27       ` Tyler Baicar
2017-11-15 14:46   ` Tyler Baicar
2017-11-17 18:22     ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).