diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-03-07 19:19:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-17 06:16:43 +0300 |
commit | 197cccc771ee5871747e7abe5698c4f2ddb12233 (patch) | |
tree | d45120600d54966c332c1b6b770d1d3a2b055d68 /drivers/crypto/cavium | |
parent | 118dbccc1a35b50bf41296846809487e914b65a1 (diff) | |
download | linux-197cccc771ee5871747e7abe5698c4f2ddb12233.tar.xz |
crypto: qat - drop redundant adf_enable_aer()
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 <bhelgaas@google.com>
Cc: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Cc: qat-linux@intel.com
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium')
0 files changed, 0 insertions, 0 deletions