OpenCloudOS-Kernel/drivers/dma/ioat
Bjorn Helgaas e32622f84a dmaengine: ioat: 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.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230307192655.874008-2-helgaas@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-17 23:16:47 +05:30
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dca.c dmaengine: ioatdma: remove unused function missed during dma_v2 removal 2020-11-16 22:42:28 +05:30
dma.c dmaengine: ioat: Fix spelling mistake "idel" -> "idle" 2022-10-19 18:56:57 +05:30
dma.h dmaengine: ioat: remove unused declarations in dma.h 2022-09-29 22:46:09 +05:30
hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 7 2019-05-21 11:28:40 +02:00
init.c dmaengine: ioat: Drop redundant pci_enable_pcie_error_reporting() 2023-03-17 23:16:47 +05:30
prep.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
registers.h dmaengine: ioat: use PCI core macros for PCIe Capability 2023-03-17 23:15:49 +05:30
sysfs.c dmaengine: ioatdma: use default_groups in kobj_type 2022-01-05 13:11:08 +05:30