sysfs-bus-pci-devices-aer_stats 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. PCIe Device AER statistics
  2. --------------------------
  3. These attributes show up under all the devices that are AER capable. These
  4. statistical counters indicate the errors "as seen/reported by the device".
  5. Note that this may mean that if an endpoint is causing problems, the AER
  6. counters may increment at its link partner (e.g. root port) because the
  7. errors may be "seen" / reported by the link partner and not the
  8. problematic endpoint itself (which may report all counters as 0 as it never
  9. saw any problems).
  10. What: /sys/bus/pci/devices/<dev>/aer_dev_correctable
  11. Date: July 2018
  12. KernelVersion: 4.19.0
  13. Contact: linux-pci@vger.kernel.org, rajatja@google.com
  14. Description: List of correctable errors seen and reported by this
  15. PCI device using ERR_COR. Note that since multiple errors may
  16. be reported using a single ERR_COR message, thus
  17. TOTAL_ERR_COR at the end of the file may not match the actual
  18. total of all the errors in the file. Sample output::
  19. localhost /sys/devices/pci0000:00/0000:00:1c.0 # cat aer_dev_correctable
  20. Receiver Error 2
  21. Bad TLP 0
  22. Bad DLLP 0
  23. RELAY_NUM Rollover 0
  24. Replay Timer Timeout 0
  25. Advisory Non-Fatal 0
  26. Corrected Internal Error 0
  27. Header Log Overflow 0
  28. TOTAL_ERR_COR 2
  29. What: /sys/bus/pci/devices/<dev>/aer_dev_fatal
  30. Date: July 2018
  31. KernelVersion: 4.19.0
  32. Contact: linux-pci@vger.kernel.org, rajatja@google.com
  33. Description: List of uncorrectable fatal errors seen and reported by this
  34. PCI device using ERR_FATAL. Note that since multiple errors may
  35. be reported using a single ERR_FATAL message, thus
  36. TOTAL_ERR_FATAL at the end of the file may not match the actual
  37. total of all the errors in the file. Sample output::
  38. localhost /sys/devices/pci0000:00/0000:00:1c.0 # cat aer_dev_fatal
  39. Undefined 0
  40. Data Link Protocol 0
  41. Surprise Down Error 0
  42. Poisoned TLP 0
  43. Flow Control Protocol 0
  44. Completion Timeout 0
  45. Completer Abort 0
  46. Unexpected Completion 0
  47. Receiver Overflow 0
  48. Malformed TLP 0
  49. ECRC 0
  50. Unsupported Request 0
  51. ACS Violation 0
  52. Uncorrectable Internal Error 0
  53. MC Blocked TLP 0
  54. AtomicOp Egress Blocked 0
  55. TLP Prefix Blocked Error 0
  56. TOTAL_ERR_FATAL 0
  57. What: /sys/bus/pci/devices/<dev>/aer_dev_nonfatal
  58. Date: July 2018
  59. KernelVersion: 4.19.0
  60. Contact: linux-pci@vger.kernel.org, rajatja@google.com
  61. Description: List of uncorrectable nonfatal errors seen and reported by this
  62. PCI device using ERR_NONFATAL. Note that since multiple errors
  63. may be reported using a single ERR_FATAL message, thus
  64. TOTAL_ERR_NONFATAL at the end of the file may not match the
  65. actual total of all the errors in the file. Sample output::
  66. localhost /sys/devices/pci0000:00/0000:00:1c.0 # cat aer_dev_nonfatal
  67. Undefined 0
  68. Data Link Protocol 0
  69. Surprise Down Error 0
  70. Poisoned TLP 0
  71. Flow Control Protocol 0
  72. Completion Timeout 0
  73. Completer Abort 0
  74. Unexpected Completion 0
  75. Receiver Overflow 0
  76. Malformed TLP 0
  77. ECRC 0
  78. Unsupported Request 0
  79. ACS Violation 0
  80. Uncorrectable Internal Error 0
  81. MC Blocked TLP 0
  82. AtomicOp Egress Blocked 0
  83. TLP Prefix Blocked Error 0
  84. TOTAL_ERR_NONFATAL 0
  85. PCIe Rootport AER statistics
  86. ----------------------------
  87. These attributes show up under only the rootports (or root complex event
  88. collectors) that are AER capable. These indicate the number of error messages as
  89. "reported to" the rootport. Please note that the rootports also transmit
  90. (internally) the ERR_* messages for errors seen by the internal rootport PCI
  91. device, so these counters include them and are thus cumulative of all the error
  92. messages on the PCI hierarchy originating at that root port.
  93. What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_cor
  94. Date: July 2018
  95. KernelVersion: 4.19.0
  96. Contact: linux-pci@vger.kernel.org, rajatja@google.com
  97. Description: Total number of ERR_COR messages reported to rootport.
  98. What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_fatal
  99. Date: July 2018
  100. KernelVersion: 4.19.0
  101. Contact: linux-pci@vger.kernel.org, rajatja@google.com
  102. Description: Total number of ERR_FATAL messages reported to rootport.
  103. What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_nonfatal
  104. Date: July 2018
  105. KernelVersion: 4.19.0
  106. Contact: linux-pci@vger.kernel.org, rajatja@google.com
  107. Description: Total number of ERR_NONFATAL messages reported to rootport.