mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 17:12:50 -04:00
PCI/AER: Adopt lspci names for AER error decoding
lspci uses abbreviated naming for AER error strings. Adopt the same naming convention for the AER printing so they match. Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
This commit is contained in:
committed by
Bjorn Helgaas
parent
1e4511604d
commit
bd237801fe
@@ -439,22 +439,22 @@ static const char *aer_error_layer[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char *aer_correctable_error_string[] = {
|
static const char *aer_correctable_error_string[] = {
|
||||||
"Receiver Error", /* Bit Position 0 */
|
"RxErr", /* Bit Position 0 */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
"Bad TLP", /* Bit Position 6 */
|
"BadTLP", /* Bit Position 6 */
|
||||||
"Bad DLLP", /* Bit Position 7 */
|
"BadDLLP", /* Bit Position 7 */
|
||||||
"RELAY_NUM Rollover", /* Bit Position 8 */
|
"Rollover", /* Bit Position 8 */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
"Replay Timer Timeout", /* Bit Position 12 */
|
"Timeout", /* Bit Position 12 */
|
||||||
"Advisory Non-Fatal", /* Bit Position 13 */
|
"NonFatalErr", /* Bit Position 13 */
|
||||||
"Corrected Internal Error", /* Bit Position 14 */
|
"CorrIntErr", /* Bit Position 14 */
|
||||||
"Header Log Overflow", /* Bit Position 15 */
|
"HeaderOF", /* Bit Position 15 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *aer_uncorrectable_error_string[] = {
|
static const char *aer_uncorrectable_error_string[] = {
|
||||||
@@ -462,28 +462,28 @@ static const char *aer_uncorrectable_error_string[] = {
|
|||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
"Data Link Protocol", /* Bit Position 4 */
|
"DLP", /* Bit Position 4 */
|
||||||
"Surprise Down Error", /* Bit Position 5 */
|
"SDES", /* Bit Position 5 */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
"Poisoned TLP", /* Bit Position 12 */
|
"TLP", /* Bit Position 12 */
|
||||||
"Flow Control Protocol", /* Bit Position 13 */
|
"FCP", /* Bit Position 13 */
|
||||||
"Completion Timeout", /* Bit Position 14 */
|
"CmpltTO", /* Bit Position 14 */
|
||||||
"Completer Abort", /* Bit Position 15 */
|
"CmpltAbrt", /* Bit Position 15 */
|
||||||
"Unexpected Completion", /* Bit Position 16 */
|
"UnxCmplt", /* Bit Position 16 */
|
||||||
"Receiver Overflow", /* Bit Position 17 */
|
"RxOF", /* Bit Position 17 */
|
||||||
"Malformed TLP", /* Bit Position 18 */
|
"MalfTLP", /* Bit Position 18 */
|
||||||
"ECRC", /* Bit Position 19 */
|
"ECRC", /* Bit Position 19 */
|
||||||
"Unsupported Request", /* Bit Position 20 */
|
"UnsupReq", /* Bit Position 20 */
|
||||||
"ACS Violation", /* Bit Position 21 */
|
"ACSViol", /* Bit Position 21 */
|
||||||
"Uncorrectable Internal Error", /* Bit Position 22 */
|
"UncorrIntErr", /* Bit Position 22 */
|
||||||
"MC Blocked TLP", /* Bit Position 23 */
|
"BlockedTLP", /* Bit Position 23 */
|
||||||
"AtomicOp Egress Blocked", /* Bit Position 24 */
|
"AtomicOpBlocked", /* Bit Position 24 */
|
||||||
"TLP Prefix Blocked Error", /* Bit Position 25 */
|
"TLPBlockedErr", /* Bit Position 25 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *aer_agent_string[] = {
|
static const char *aer_agent_string[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user