linux-stable/drivers/net/ethernet/qlogic
Bjorn Helgaas 2d0e037206 netxen_nic: Drop redundant pci_enable_pcie_error_reporting()
pci_enable_pcie_error_reporting() enables the device to send ERR_*
Messages.  Since f26e58bf6f ("PCI/AER: Enable error reporting when AER is
native"), the PCI core does this for all devices during enumeration, so the
driver doesn't need to do it itself.

Remove the redundant pci_enable_pcie_error_reporting() call from the
driver.  Also remove the corresponding pci_disable_pcie_error_reporting()
from the driver .remove() path.

Note that this only controls ERR_* Messages from the device.  An ERR_*
Message may cause the Root Port to generate an interrupt, depending on the
AER Root Error Command register managed by the AER service driver.

Also note that the driver only called these for NX_IS_REVISION_P3 devices,
so since f26e58bf6f, error reporting has been enabled for devices other
than NX_IS_REVISION_P3.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Manish Chopra <manishc@marvell.com>
Cc: Rahul Verma <rahulv@marvell.com>
Cc: GR-Linux-NIC-Dev@marvell.com
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-08 23:34:38 -08:00
..
netxen netxen_nic: Drop redundant pci_enable_pcie_error_reporting() 2023-03-08 23:34:38 -08:00
qed qed: remove pointless call to devlink_param_driverinit_value_set() 2023-01-27 12:32:02 +00:00
qede qede: avoid uninitialized entries in coal_entry array 2023-02-26 16:31:37 +00:00
qlcnic qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure 2022-12-26 09:01:36 +00:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile
qla3xxx.c net/qla3xxx: fix potential memleak in ql3xxx_send() 2022-11-18 19:39:05 -08:00
qla3xxx.h net/qla3xxx: Convert to SPDX license identifiers 2020-09-16 14:32:31 +02:00