summaryrefslogtreecommitdiff
path: root/Documentation/PCI/pcieaer-howto.txt
diff options
context:
space:
mode:
authorRajat Jain <rajatja@google.com>2018-06-21 16:48:28 -0700
committerBjorn Helgaas <bhelgaas@google.com>2018-07-19 16:19:51 -0500
commit81aa5206f9a7c9793e2f7971400351664e40b04f (patch)
tree972f1ff3c75b02752f0f78f412f0bd113709db3b /Documentation/PCI/pcieaer-howto.txt
parentdb89ccbe52c7885644ba578c7771e57620f879b1 (diff)
PCI/AER: Add sysfs attributes to provide AER stats and breakdown
Add sysfs attributes to provide total and breakdown of the AERs seen, into different type of correctable, fatal and nonfatal errors: /sys/bus/pci/devices/<dev>/aer_dev_correctable /sys/bus/pci/devices/<dev>/aer_dev_fatal /sys/bus/pci/devices/<dev>/aer_dev_nonfatal Signed-off-by: Rajat Jain <rajatja@google.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation/PCI/pcieaer-howto.txt')
-rw-r--r--Documentation/PCI/pcieaer-howto.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/PCI/pcieaer-howto.txt b/Documentation/PCI/pcieaer-howto.txt
index acd0dddd6bb8..48ce7903e3c6 100644
--- a/Documentation/PCI/pcieaer-howto.txt
+++ b/Documentation/PCI/pcieaer-howto.txt
@@ -73,6 +73,11 @@ In the example, 'Requester ID' means the ID of the device who sends
the error message to root port. Pls. refer to pci express specs for
other fields.
+2.4 AER Statistics / Counters
+
+When PCIe AER errors are captured, the counters / statistics are also exposed
+in the form of sysfs attributes which are documented at
+Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats
3. Developer Guide