diff options
author | Chen, Gong <gong.chen@linux.intel.com> | 2014-08-13 02:22:39 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-25 11:26:08 -0400 |
commit | cb9a684acb3d79a5431ac78832148817debf3a06 (patch) | |
tree | 1c34797c912f8d1a5f94d1d78e01fb78b4a2c861 | |
parent | 99d440242c08c8a95576c0bc89278f8912f65bda (diff) |
trace, RAS: Add additional PCIe AER error strings
Add all AER error bits defined in PCIe r3.0.
[bhelgaas: changelog]
Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | include/ras/ras_event.h | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/include/ras/ras_event.h b/include/ras/ras_event.h index 0f2cca4ccbf0..0f04a9755d1e 100644 --- a/include/ras/ras_event.h +++ b/include/ras/ras_event.h | |||
@@ -174,25 +174,34 @@ TRACE_EVENT(mc_event, | |||
174 | * u8 severity - error severity 0:NONFATAL 1:FATAL 2:CORRECTED | 174 | * u8 severity - error severity 0:NONFATAL 1:FATAL 2:CORRECTED |
175 | */ | 175 | */ |
176 | 176 | ||
177 | #define aer_correctable_errors \ | 177 | #define aer_correctable_errors \ |
178 | {PCI_ERR_COR_RCVR, "Receiver Error"}, \ | 178 | {PCI_ERR_COR_RCVR, "Receiver Error"}, \ |
179 | {PCI_ERR_COR_BAD_TLP, "Bad TLP"}, \ | 179 | {PCI_ERR_COR_BAD_TLP, "Bad TLP"}, \ |
180 | {PCI_ERR_COR_BAD_DLLP, "Bad DLLP"}, \ | 180 | {PCI_ERR_COR_BAD_DLLP, "Bad DLLP"}, \ |
181 | {PCI_ERR_COR_REP_ROLL, "RELAY_NUM Rollover"}, \ | 181 | {PCI_ERR_COR_REP_ROLL, "RELAY_NUM Rollover"}, \ |
182 | {PCI_ERR_COR_REP_TIMER, "Replay Timer Timeout"},\ | 182 | {PCI_ERR_COR_REP_TIMER, "Replay Timer Timeout"}, \ |
183 | {PCI_ERR_COR_ADV_NFAT, "Advisory Non-Fatal"} | 183 | {PCI_ERR_COR_ADV_NFAT, "Advisory Non-Fatal Error"}, \ |
184 | 184 | {PCI_ERR_COR_INTERNAL, "Corrected Internal Error"}, \ | |
185 | #define aer_uncorrectable_errors \ | 185 | {PCI_ERR_COR_LOG_OVER, "Header Log Overflow"} |
186 | {PCI_ERR_UNC_DLP, "Data Link Protocol"}, \ | 186 | |
187 | #define aer_uncorrectable_errors \ | ||
188 | {PCI_ERR_UNC_TRAIN, "Undefined"}, \ | ||
189 | {PCI_ERR_UNC_DLP, "Data Link Protocol Error"}, \ | ||
190 | {PCI_ERR_UNC_SURPDN, "Surprise Down Error"}, \ | ||
187 | {PCI_ERR_UNC_POISON_TLP,"Poisoned TLP"}, \ | 191 | {PCI_ERR_UNC_POISON_TLP,"Poisoned TLP"}, \ |
188 | {PCI_ERR_UNC_FCP, "Flow Control Protocol"}, \ | 192 | {PCI_ERR_UNC_FCP, "Flow Control Protocol Error"}, \ |
189 | {PCI_ERR_UNC_COMP_TIME, "Completion Timeout"}, \ | 193 | {PCI_ERR_UNC_COMP_TIME, "Completion Timeout"}, \ |
190 | {PCI_ERR_UNC_COMP_ABORT,"Completer Abort"}, \ | 194 | {PCI_ERR_UNC_COMP_ABORT,"Completer Abort"}, \ |
191 | {PCI_ERR_UNC_UNX_COMP, "Unexpected Completion"}, \ | 195 | {PCI_ERR_UNC_UNX_COMP, "Unexpected Completion"}, \ |
192 | {PCI_ERR_UNC_RX_OVER, "Receiver Overflow"}, \ | 196 | {PCI_ERR_UNC_RX_OVER, "Receiver Overflow"}, \ |
193 | {PCI_ERR_UNC_MALF_TLP, "Malformed TLP"}, \ | 197 | {PCI_ERR_UNC_MALF_TLP, "Malformed TLP"}, \ |
194 | {PCI_ERR_UNC_ECRC, "ECRC"}, \ | 198 | {PCI_ERR_UNC_ECRC, "ECRC Error"}, \ |
195 | {PCI_ERR_UNC_UNSUP, "Unsupported Request"} | 199 | {PCI_ERR_UNC_UNSUP, "Unsupported Request Error"}, \ |
200 | {PCI_ERR_UNC_ACSV, "ACS Violation"}, \ | ||
201 | {PCI_ERR_UNC_INTN, "Uncorrectable Internal Error"},\ | ||
202 | {PCI_ERR_UNC_MCBTLP, "MC Blocked TLP"}, \ | ||
203 | {PCI_ERR_UNC_ATOMEG, "AtomicOp Egress Blocked"}, \ | ||
204 | {PCI_ERR_UNC_TLPPRE, "TLP Prefix Blocked Error"} | ||
196 | 205 | ||
197 | TRACE_EVENT(aer_event, | 206 | TRACE_EVENT(aer_event, |
198 | TP_PROTO(const char *dev_name, | 207 | TP_PROTO(const char *dev_name, |