output_format.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. <pcie port type string>* := PCIe end point | legacy PCI end point | \
  81. unknown | unknown | root port | upstream switch port | \
  82. downstream switch port | PCIe to PCI/PCI-X bridge | \
  83. PCI/PCI-X to PCIe bridge | root complex integrated endpoint device | \
  84. root complex event collector
  85. Where, [] designate corresponding content is optional
  86. All <field string> description with * has the following format:
  87. field: <integer>, <field string>
  88. Where value of <integer> should be the position of "string" in <field
  89. string> description. Otherwise, <field string> will be "unknown".
  90. All <field strings> description with # has the following format:
  91. field: <integer>
  92. <field strings>
  93. Where each string in <fields strings> corresponding to one set bit of
  94. <integer>. The bit position is the position of "string" in <field
  95. strings> description.
  96. For more detailed explanation of every field, please refer to UEFI
  97. specification version 2.3 or later, section Appendix N: Common
  98. Platform Error Record.