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

From: Bjorn Helgaas
Date: Tue Mar 07 2023 - 13:25:04 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

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.

Intel folks, sorry that I missed removing the <linux/aer.h> includes in the
first series.


Bjorn Helgaas (28):
alx: Drop redundant pci_enable_pcie_error_reporting()
be2net: Drop redundant pci_enable_pcie_error_reporting()
bnx2: Drop redundant pci_enable_pcie_error_reporting()
bnx2x: Drop redundant pci_enable_pcie_error_reporting()
bnxt: Drop redundant pci_enable_pcie_error_reporting()
cxgb4: Drop redundant pci_enable_pcie_error_reporting()
net/fungible: Drop redundant pci_enable_pcie_error_reporting()
net: hns3: remove unnecessary aer.h include
netxen_nic: Drop redundant pci_enable_pcie_error_reporting()
octeon_ep: Drop redundant pci_enable_pcie_error_reporting()
qed: Drop redundant pci_enable_pcie_error_reporting()
net: qede: Remove unnecessary aer.h include
qlcnic: Drop redundant pci_enable_pcie_error_reporting()
qlcnic: Remove unnecessary aer.h include
sfc: Drop redundant pci_enable_pcie_error_reporting()
sfc: falcon: Drop redundant pci_enable_pcie_error_reporting()
sfc/siena: Drop redundant pci_enable_pcie_error_reporting()
sfc_ef100: Drop redundant pci_disable_pcie_error_reporting()
net: ngbe: Drop redundant pci_enable_pcie_error_reporting()
net: txgbe: Drop redundant pci_enable_pcie_error_reporting()
e1000e: Remove unnecessary aer.h include
fm10k: Remove unnecessary aer.h include
i40e: Remove unnecessary aer.h include
iavf: Remove unnecessary aer.h include
ice: Remove unnecessary aer.h include
igb: Remove unnecessary aer.h include
igc: Remove unnecessary aer.h include
ixgbe: Remove unnecessary aer.h include

drivers/net/ethernet/atheros/alx/main.c | 4 ----
drivers/net/ethernet/broadcom/bnx2.c | 21 -------------------
drivers/net/ethernet/broadcom/bnx2.h | 1 -
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 -
.../net/ethernet/broadcom/bnx2x/bnx2x_main.c | 19 -----------------
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 ----
.../net/ethernet/chelsio/cxgb4/cxgb4_main.c | 4 ----
drivers/net/ethernet/emulex/benet/be_main.c | 8 -------
.../net/ethernet/fungible/funcore/fun_dev.c | 5 -----
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 1 -
drivers/net/ethernet/intel/e1000e/netdev.c | 1 -
drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 1 -
drivers/net/ethernet/intel/i40e/i40e.h | 1 -
drivers/net/ethernet/intel/iavf/iavf.h | 1 -
drivers/net/ethernet/intel/ice/ice.h | 1 -
drivers/net/ethernet/intel/igb/igb_main.c | 1 -
drivers/net/ethernet/intel/igc/igc_main.c | 1 -
drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 -
.../ethernet/marvell/octeon_ep/octep_main.c | 4 ----
.../ethernet/qlogic/netxen/netxen_nic_main.c | 10 +--------
drivers/net/ethernet/qlogic/qed/qed_main.c | 9 --------
drivers/net/ethernet/qlogic/qede/qede_main.c | 1 -
.../ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 1 -
.../net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 ----
.../net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 1 -
drivers/net/ethernet/sfc/ef100.c | 3 ---
drivers/net/ethernet/sfc/efx.c | 5 -----
drivers/net/ethernet/sfc/falcon/efx.c | 9 --------
drivers/net/ethernet/sfc/siena/efx.c | 5 -----
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c | 4 ----
.../net/ethernet/wangxun/txgbe/txgbe_main.c | 5 -----
31 files changed, 1 insertion(+), 136 deletions(-)

--
2.25.1