OpenCloudOS-Kernel/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
..
Makefile
bfa.h
bfa_core.c scsi: bfa: Demote seemingly unintentional kerneldoc header 2020-07-24 22:33:04 -04:00
bfa_cs.h
bfa_defs.h
bfa_defs_fcs.h
bfa_defs_svc.h scsi: bfa: Fix typo 2021-05-21 17:00:21 -04:00
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.c
bfa_fcs.h scsi: bfa: Remove unnecessary struct declarations 2021-04-05 23:44:01 -04:00
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 treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc.c scsi: bfa: Fix fall-through warnings for Clang 2020-12-02 12:59:46 -05:00
bfa_ioc.h
bfa_ioc_cb.c
bfa_ioc_ct.c scsi: bfa: Demote non-compliant kerneldoc headers to standard comments 2020-07-24 22:32:07 -04:00
bfa_modules.h
bfa_plog.h
bfa_port.c scsi: bfa: Staticify local functions 2020-07-24 22:31:56 -04:00
bfa_port.h
bfa_svc.c scsi: bfa: Fix inconsistent indenting 2021-05-21 17:01:18 -04:00
bfa_svc.h
bfad.c scsi: bfa: Drop redundant pci_enable_pcie_error_reporting() 2023-03-09 22:00:38 -05:00
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
bfi.h
bfi_ms.h
bfi_reg.h