~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/firmware-guide/acpi/apei/output_format.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php