Path: blob/master/Documentation/acpi/apei/output_format.txt
10823 views
APEI output format1~~~~~~~~~~~~~~~~~~23APEI uses printk as hardware error reporting interface, the output4format is as follow.56<error record> :=7APEI generic hardware error status8severity: <integer>, <severity string>9section: <integer>, severity: <integer>, <severity string>10flags: <integer>11<section flags strings>12fru_id: <uuid string>13fru_text: <string>14section_type: <section type string>15<section data>1617<severity string>* := recoverable | fatal | corrected | info1819<section flags strings># :=20[primary][, containment warning][, reset][, threshold exceeded]\21[, resource not accessible][, latent error]2223<section type string> := generic processor error | memory error | \24PCIe error | unknown, <uuid string>2526<section data> :=27<generic processor section data> | <memory section data> | \28<pcie section data> | <null>2930<generic processor section data> :=31[processor_type: <integer>, <proc type string>]32[processor_isa: <integer>, <proc isa string>]33[error_type: <integer>34<proc error type strings>]35[operation: <integer>, <proc operation string>]36[flags: <integer>37<proc flags strings>]38[level: <integer>]39[version_info: <integer>]40[processor_id: <integer>]41[target_address: <integer>]42[requestor_id: <integer>]43[responder_id: <integer>]44[IP: <integer>]4546<proc type string>* := IA32/X64 | IA644748<proc isa string>* := IA32 | IA64 | X644950<processor error type strings># :=51[cache error][, TLB error][, bus error][, micro-architectural error]5253<proc operation string>* := unknown or generic | data read | data write | \54instruction execution5556<proc flags strings># :=57[restartable][, precise IP][, overflow][, corrected]5859<memory section data> :=60[error_status: <integer>]61[physical_address: <integer>]62[physical_address_mask: <integer>]63[node: <integer>]64[card: <integer>]65[module: <integer>]66[bank: <integer>]67[device: <integer>]68[row: <integer>]69[column: <integer>]70[bit_position: <integer>]71[requestor_id: <integer>]72[responder_id: <integer>]73[target_id: <integer>]74[error_type: <integer>, <mem error type string>]7576<mem error type string>* :=77unknown | no error | single-bit ECC | multi-bit ECC | \78single-symbol chipkill ECC | multi-symbol chipkill ECC | master abort | \79target abort | parity error | watchdog timeout | invalid address | \80mirror Broken | memory sparing | scrub corrected error | \81scrub uncorrected error8283<pcie section data> :=84[port_type: <integer>, <pcie port type string>]85[version: <integer>.<integer>]86[command: <integer>, status: <integer>]87[device_id: <integer>:<integer>:<integer>.<integer>88slot: <integer>89secondary_bus: <integer>90vendor_id: <integer>, device_id: <integer>91class_code: <integer>]92[serial number: <integer>, <integer>]93[bridge: secondary_status: <integer>, control: <integer>]94[aer_status: <integer>, aer_mask: <integer>95<aer status string>96[aer_uncor_severity: <integer>]97aer_layer=<aer layer string>, aer_agent=<aer agent string>98aer_tlp_header: <integer> <integer> <integer> <integer>]99100<pcie port type string>* := PCIe end point | legacy PCI end point | \101unknown | unknown | root port | upstream switch port | \102downstream switch port | PCIe to PCI/PCI-X bridge | \103PCI/PCI-X to PCIe bridge | root complex integrated endpoint device | \104root complex event collector105106if section severity is fatal or recoverable107<aer status string># :=108unknown | unknown | unknown | unknown | Data Link Protocol | \109unknown | unknown | unknown | unknown | unknown | unknown | unknown | \110Poisoned TLP | Flow Control Protocol | Completion Timeout | \111Completer Abort | Unexpected Completion | Receiver Overflow | \112Malformed TLP | ECRC | Unsupported Request113else114<aer status string># :=115Receiver Error | unknown | unknown | unknown | unknown | unknown | \116Bad TLP | Bad DLLP | RELAY_NUM Rollover | unknown | unknown | unknown | \117Replay Timer Timeout | Advisory Non-Fatal118fi119120<aer layer string> :=121Physical Layer | Data Link Layer | Transaction Layer122123<aer agent string> :=124Receiver ID | Requester ID | Completer ID | Transmitter ID125126Where, [] designate corresponding content is optional127128All <field string> description with * has the following format:129130field: <integer>, <field string>131132Where value of <integer> should be the position of "string" in <field133string> description. Otherwise, <field string> will be "unknown".134135All <field strings> description with # has the following format:136137field: <integer>138<field strings>139140Where each string in <fields strings> corresponding to one set bit of141<integer>. The bit position is the position of "string" in <field142strings> description.143144For more detailed explanation of every field, please refer to UEFI145specification version 2.3 or later, section Appendix N: Common146Platform Error Record.147148149