output_format.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. APEI output format
  2. ~~~~~~~~~~~~~~~~~~
  3. APEI uses printk as hardware error reporting interface, the output
  4. format is as follow.
  5. <error record> :=
  6. APEI generic hardware error status
  7. severity: <integer>, <severity string>
  8. section: <integer>, severity: <integer>, <severity string>
  9. flags: <integer>
  10. <section flags strings>
  11. fru_id: <uuid string>
  12. fru_text: <string>
  13. section_type: <section type string>
  14. <section data>
  15. <severity string>* := recoverable | fatal | corrected | info
  16. <section flags strings># :=
  17. [primary][, containment warning][, reset][, threshold exceeded]\
  18. [, resource not accessible][, latent error]
  19. <section type string> := generic processor error | memory error | \
  20. PCIe error | unknown, <uuid string>
  21. <section data> :=
  22. <generic processor section data> | <memory section data> | \
  23. <pcie section data> | <null>
  24. <generic processor section data> :=
  25. [processor_type: <integer>, <proc type string>]
  26. [processor_isa: <integer>, <proc isa string>]
  27. [error_type: <integer>
  28. <proc error type strings>]
  29. [operation: <integer>, <proc operation string>]
  30. [flags: <integer>
  31. <proc flags strings>]
  32. [level: <integer>]
  33. [version_info: <integer>]
  34. [processor_id: <integer>]
  35. [target_address: <integer>]
  36. [requestor_id: <integer>]
  37. [responder_id: <integer>]
  38. [IP: <integer>]
  39. <proc type string>* := IA32/X64 | IA64
  40. <proc isa string>* := IA32 | IA64 | X64
  41. <processor error type strings># :=
  42. [cache error][, TLB error][, bus error][, micro-architectural error]
  43. <proc operation string>* := unknown or generic | data read | data write | \
  44. instruction execution
  45. <proc flags strings># :=
  46. [restartable][, precise IP][, overflow][, corrected]
  47. <memory section data> :=
  48. [error_status: <integer>]
  49. [physical_address: <integer>]
  50. [physical_address_mask: <integer>]
  51. [node: <integer>]
  52. [card: <integer>]
  53. [module: <integer>]
  54. [bank: <integer>]
  55. [device: <integer>]
  56. [row: <integer>]
  57. [column: <integer>]
  58. [bit_position: <integer>]
  59. [requestor_id: <integer>]
  60. [responder_id: <integer>]
  61. [target_id: <integer>]
  62. [error_type: <integer>, <mem error type string>]
  63. <mem error type string>* :=
  64. unknown | no error | single-bit ECC | multi-bit ECC | \
  65. single-symbol chipkill ECC | multi-symbol chipkill ECC | master abort | \
  66. target abort | parity error | watchdog timeout | invalid address | \
  67. mirror Broken | memory sparing | scrub corrected error | \
  68. scrub uncorrected error
  69. <pcie section data> :=
  70. [port_type: <integer>, <pcie port type string>]
  71. [version: <integer>.<integer>]
  72. [command: <integer>, status: <integer>]
  73. [device_id: <integer>:<integer>:<integer>.<integer>
  74. slot: <integer>
  75. secondary_bus: <integer>
  76. vendor_id: <integer>, device_id: <integer>
  77. class_code: <integer>]
  78. [serial number: <integer>, <integer>]
  79. [bridge: secondary_status: <integer>, control: <integer>]
  80. [aer_status: <integer>, aer_mask: <integer>
  81. <aer status string>
  82. [aer_uncor_severity: <integer>]
  83. aer_layer=<aer layer string>, aer_agent=<aer agent string>
  84. aer_tlp_header: <integer> <integer> <integer> <integer>]
  85. <pcie port type string>* := PCIe end point | legacy PCI end point | \
  86. unknown | unknown | root port | upstream switch port | \
  87. downstream switch port | PCIe to PCI/PCI-X bridge | \
  88. PCI/PCI-X to PCIe bridge | root complex integrated endpoint device | \
  89. root complex event collector
  90. if section severity is fatal or recoverable
  91. <aer status string># :=
  92. unknown | unknown | unknown | unknown | Data Link Protocol | \
  93. unknown | unknown | unknown | unknown | unknown | unknown | unknown | \
  94. Poisoned TLP | Flow Control Protocol | Completion Timeout | \
  95. Completer Abort | Unexpected Completion | Receiver Overflow | \
  96. Malformed TLP | ECRC | Unsupported Request
  97. else
  98. <aer status string># :=
  99. Receiver Error | unknown | unknown | unknown | unknown | unknown | \
  100. Bad TLP | Bad DLLP | RELAY_NUM Rollover | unknown | unknown | unknown | \
  101. Replay Timer Timeout | Advisory Non-Fatal
  102. fi
  103. <aer layer string> :=
  104. Physical Layer | Data Link Layer | Transaction Layer
  105. <aer agent string> :=
  106. Receiver ID | Requester ID | Completer ID | Transmitter ID
  107. Where, [] designate corresponding content is optional
  108. All <field string> description with * has the following format:
  109. field: <integer>, <field string>
  110. Where value of <integer> should be the position of "string" in <field
  111. string> description. Otherwise, <field string> will be "unknown".
  112. All <field strings> description with # has the following format:
  113. field: <integer>
  114. <field strings>
  115. Where each string in <fields strings> corresponding to one set bit of
  116. <integer>. The bit position is the position of "string" in <field
  117. strings> description.
  118. For more detailed explanation of every field, please refer to UEFI
  119. specification version 2.3 or later, section Appendix N: Common
  120. Platform Error Record.