[PATCH 00/10] PCI/AER: Remove redundant Device Control Error Reporting Enable

Bjorn Helgaas
2023-03-07T18:41:25Z

Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native"),
which appeared in v6.0, the PCI core has enabled PCIe error reporting for
all devices during enumeration.

Remove driver code to do this and remove unnecessary includes of
<linux/aer.h> from several other drivers.

Bjorn Helgaas (10):
scsi: aacraid: Drop redundant pci_enable_pcie_error_reporting()
scsi: arcmsr: Remove unnecessary aer.h include
scsi: be2iscsi: Drop redundant pci_enable_pcie_error_reporting()
scsi: bfa: Drop redundant pci_enable_pcie_error_reporting()
scsi: csiostor: Remove unnecessary aer.h include
scsi: hpsa: Remove unnecessary pci_disable_pcie_error_reporting()
comment
scsi: lpfc: Drop redundant pci_enable_pcie_error_reporting()
scsi: mpt3sas: Drop redundant pci_enable_pcie_error_reporting()
scsi: qla2xxx: Drop redundant pci_enable_pcie_error_reporting()
scsi: qla4xxx: Drop redundant pci_enable_pcie_error_reporting()

drivers/scsi/aacraid/linit.c | 3 -
drivers/scsi/arcmsr/arcmsr_hba.c | 1 -
drivers/scsi/be2iscsi/be_main.c | 9 ---
drivers/scsi/be2iscsi/be_main.h | 1 -
drivers/scsi/bfa/bfad.c | 6 --
drivers/scsi/bfa/bfad_drv.h | 1 -
drivers/scsi/csiostor/csio_init.c | 1 -
drivers/scsi/hpsa.c | 1 -
drivers/scsi/lpfc/lpfc.h | 2 -
drivers/scsi/lpfc/lpfc_attr.c | 96 ++++++++--------------------
drivers/scsi/lpfc/lpfc_init.c | 1 -
drivers/scsi/lpfc/lpfc_sli.c | 55 ----------------
drivers/scsi/mpt3sas/mpt3sas_base.c | 5 --
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1 -
drivers/scsi/qla2xxx/qla_def.h | 1 -
drivers/scsi/qla2xxx/qla_os.c | 6 --
drivers/scsi/qla4xxx/ql4_def.h | 1 -
drivers/scsi/qla4xxx/ql4_os.c | 4 --
18 files changed, 27 insertions(+), 168 deletions(-)

--
2.25.1