linux/drivers/scsi/bfa
Bjorn Helgaas b54e1e47b5 scsi: bfa: Drop redundant pci_enable_pcie_error_reporting()
pci_enable_pcie_error_reporting() enables the device to send ERR_*
Messages.  Since commit 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.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20230307182842.870378-5-helgaas@kernel.org
Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Cc: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-03-09 22:00:38 -05:00
..
bfa_core.c
bfa_cs.h
bfa_defs_fcs.h
bfa_defs_svc.h scsi: bfa: Fix typo 2021-05-21 17:00:21 -04:00
bfa_defs.h
bfa_fc.h scsi: bfa: Replace one-element array with flexible-array member 2022-11-17 18:15:45 +00:00
bfa_fcbuild.c
bfa_fcbuild.h
bfa_fcpim.c scsi: bfa: Drop driver-defined SCSI status codes 2021-01-22 21:14:08 -05:00
bfa_fcpim.h
bfa_fcs_fcpim.c
bfa_fcs_lport.c scsi: bfa: Move a large struct from the stack onto the heap 2021-03-15 22:28:58 -04:00
bfa_fcs_rport.c
bfa_fcs.c
bfa_fcs.h scsi: bfa: Remove unnecessary struct declarations 2021-04-05 23:44:01 -04:00
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc_cb.c
bfa_ioc_ct.c
bfa_ioc.c
bfa_ioc.h
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c scsi: bfa: Fix inconsistent indenting 2021-05-21 17:01:18 -04:00
bfa_svc.h
bfa.h
bfad_attr.c scsi: bfa: Replace snprintf() with sysfs_emit() 2022-01-31 16:59:59 -05:00
bfad_bsg.c scsi: bfa: Rework bfad_reset_sdev_bflags() 2022-11-08 03:34:39 +00:00
bfad_bsg.h
bfad_debugfs.c scsi: bfa: Remove redundant NULL check 2022-04-25 23:23:05 -04:00
bfad_drv.h scsi: bfa: Drop redundant pci_enable_pcie_error_reporting() 2023-03-09 22:00:38 -05:00
bfad_im.c scsi: bfa: Remove unneeded flush_workqueue() 2022-04-25 23:38:38 -04:00
bfad_im.h scsi: bfa: Convert bfad_reset_sdev_bflags() from a macro into a function 2022-11-08 03:34:39 +00:00
bfad.c scsi: bfa: Drop redundant pci_enable_pcie_error_reporting() 2023-03-09 22:00:38 -05:00
bfi_ms.h
bfi_reg.h
bfi.h
Makefile