[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220901181634.99591-1-chenzhuo.1@bytedance.com>
Date: Fri, 2 Sep 2022 02:16:31 +0800
From: Zhuo Chen <chenzhuo.1@...edance.com>
To: fancer.lancer@...il.com, jdmason@...zu.us, dave.jiang@...el.com,
allenbh@...il.com, bhelgaas@...gle.com, ruscur@...sell.cc,
oohall@...il.com, james.smart@...adcom.com,
dick.kennedy@...adcom.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com
Cc: chenzhuo.1@...edance.com, ntb@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-scsi@...r.kernel.org
Subject: [PATCH 0/3] PCI/AER: Fix and optimize usage of status clear api
Hello,
This series contains some fixes and optimizations of aer api usage.
We add some process to clear uncorrectable error status, then add
distinction between fatal and nonfatal situations in pcie_do_recovery()
and reduce some redundant code. The series involves pci driver and
vendor driver.
Thanks,
Zhuo Chen
Zhuo Chen (3):
PCI/AER: Use pci_aer_clear_uncorrect_error_status() to clear
uncorrectable error status
PCI/ERR: Clear fatal status in pcie_do_recovery()
PCI/AER: Use pci_aer_raw_clear_status() to clear root port's AER error
status
drivers/ntb/hw/idt/ntb_hw_idt.c | 4 ++--
drivers/pci/pci.h | 2 ++
drivers/pci/pcie/aer.c | 30 +++++++++++++++++++-----------
drivers/pci/pcie/dpc.c | 3 +--
drivers/pci/pcie/err.c | 8 ++++++--
drivers/scsi/lpfc/lpfc_attr.c | 4 ++--
include/linux/aer.h | 4 ++--
7 files changed, 34 insertions(+), 21 deletions(-)
--
2.30.1 (Apple Git-130)
Powered by blists - more mailing lists