diff options
author | Bjorn Helgaas <[email protected]> | 2023-03-07 14:19:37 -0600 |
---|---|---|
committer | Xu Yilun <[email protected]> | 2023-03-10 16:39:44 +0800 |
commit | 83a458e330ff54951d3ddd378f970ab96b864020 (patch) | |
tree | adcec17266e6d8da41c51640ac4c93e0972d3c0f /drivers/fpga/xilinx-pr-decoupler.c | |
parent | c3d79fda250ac5df73d089f08311eb87138b04f3 (diff) |
fpga: dfl-pci: Drop redundant pci_enable_pcie_error_reporting()
pci_enable_pcie_error_reporting() enables the device to send ERR_*
Messages. Since f26e58bf6f54 ("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 <[email protected]>
Acked-by: Xu Yilun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-pr-decoupler.c')
0 files changed, 0 insertions, 0 deletions