diff options
| author | Bjorn Helgaas <[email protected]> | 2023-03-07 20:19:37 +0000 |
|---|---|---|
| committer | Xu Yilun <[email protected]> | 2023-03-10 08:39:44 +0000 |
| commit | 83a458e330ff54951d3ddd378f970ab96b864020 (patch) | |
| tree | adcec17266e6d8da41c51640ac4c93e0972d3c0f /drivers/fpga/xilinx-pr-decoupler.c | |
| parent | fpga: m10bmc-sec: Fix rsu_send_data() to return FW_UPLOAD_ERR_HW_ERROR (diff) | |
| download | kernel-83a458e330ff54951d3ddd378f970ab96b864020.tar.gz kernel-83a458e330ff54951d3ddd378f970ab96b864020.zip | |
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
