mbox series

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

Message ID 20230307182842.870378-1-helgaas@kernel.org (mailing list archive)
Headers show
Series PCI/AER: Remove redundant Device Control Error Reporting Enable | expand

Message

Bjorn Helgaas March 7, 2023, 6:28 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

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(-)

Comments

Martin K. Petersen March 10, 2023, 3:03 a.m. UTC | #1
Bjorn,

> 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.

Applied to 6.4/scsi-staging, thanks!
Martin K. Petersen March 17, 2023, 4:04 a.m. UTC | #2
On Tue, 07 Mar 2023 12:28:32 -0600, Bjorn Helgaas wrote:

> 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.
> 
> [...]

Applied to 6.4/scsi-queue, thanks!

[01/10] scsi: aacraid: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/b3e2bf9c967b
[02/10] scsi: arcmsr: Remove unnecessary aer.h include
        https://git.kernel.org/mkp/scsi/c/915b071a6f83
[03/10] scsi: be2iscsi: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/6574fb2580b0
[04/10] scsi: bfa: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/b54e1e47b5f5
[05/10] scsi: csiostor: Remove unnecessary aer.h include
        https://git.kernel.org/mkp/scsi/c/3afe8d64c4f5
[06/10] scsi: hpsa: Remove unnecessary pci_disable_pcie_error_reporting() comment
        https://git.kernel.org/mkp/scsi/c/b2bce40c5b81
[07/10] scsi: lpfc: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/e891681b1d5d
[08/10] scsi: mpt3sas: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/edf6722f4ad2
[09/10] scsi: qla2xxx: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/c5c440bbff86
[10/10] scsi: qla4xxx: Drop redundant pci_enable_pcie_error_reporting()
        https://git.kernel.org/mkp/scsi/c/d7ba106418d6