]> Git Repo - linux.git/commit
PCI/AER: Enable error reporting when AER is native
authorStefan Roese <[email protected]>
Tue, 25 Jan 2022 07:18:20 +0000 (08:18 +0100)
committerBjorn Helgaas <[email protected]>
Wed, 13 Jul 2022 19:44:12 +0000 (14:44 -0500)
commitf26e58bf6f547031f91a1b0e39b9308d48a4ba8c
tree375454a76f6fae0e299f75433f6993ec587b5a19
parent8795e182b02dc87e343c79e73af6b8b7f9c5e635
PCI/AER: Enable error reporting when AER is native

If we have native control of AER, set the following error reporting enable
bits:

  - Correctable Error Reporting Enable
  - Non-Fatal Error Reporting Enable
  - Fatal Error Reporting Enable
  - Unsupported Request Reporting Enable

Note that these bits are all in the Device Control register and are not
AER-specific.

This affects all devices with an AER capability, including hot-added
devices.

Please note that this change is quite invasive, as error reporting now will
be enabled for all available PCIe Endpoints, which was previously not the
case.

When "pci=noaer" is selected, error reporting stays disabled of course.

[bhelgaas: commit log, note error reporting is not AER-specific]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Roese <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Cc: Bharat Kumar Gogada <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Yao Hongbo <[email protected]>
Cc: Naveen Naidu <[email protected]>
drivers/pci/pcie/aer.c
This page took 0.05646 seconds and 4 git commands to generate.