diff options
-rw-r--r-- | drivers/edac/edac_mce_amd.c | 71 |
1 files changed, 37 insertions, 34 deletions
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c index cf8465450b32..918567e8cfd5 100644 --- a/drivers/edac/edac_mce_amd.c +++ b/drivers/edac/edac_mce_amd.c | |||
@@ -63,39 +63,42 @@ const char *ii_msgs[] = { /* memory or i/o */ | |||
63 | }; | 63 | }; |
64 | EXPORT_SYMBOL_GPL(ii_msgs); | 64 | EXPORT_SYMBOL_GPL(ii_msgs); |
65 | 65 | ||
66 | /* Map the 5 bits of Extended Error code to the string table. */ | 66 | /* |
67 | const char *ext_msgs[] = { /* extended error */ | 67 | * Map the 4 or 5 (family-specific) bits of Extended Error code to the |
68 | "K8 ECC error/F10 reserved", /* 0_0000b */ | 68 | * string table. |
69 | "CRC error", /* 0_0001b */ | 69 | */ |
70 | "sync error", /* 0_0010b */ | 70 | const char *ext_msgs[] = { |
71 | "mst abort", /* 0_0011b */ | 71 | "K8 ECC error", /* 0_0000b */ |
72 | "tgt abort", /* 0_0100b */ | 72 | "CRC error on link", /* 0_0001b */ |
73 | "GART error", /* 0_0101b */ | 73 | "Sync error packets on link", /* 0_0010b */ |
74 | "RMW error", /* 0_0110b */ | 74 | "Master Abort during link operation", /* 0_0011b */ |
75 | "Wdog timer error", /* 0_0111b */ | 75 | "Target Abort during link operation", /* 0_0100b */ |
76 | "F10-ECC/K8-Chipkill error", /* 0_1000b */ | 76 | "Invalid GART PTE entry during table walk", /* 0_0101b */ |
77 | "DEV Error", /* 0_1001b */ | 77 | "Unsupported atomic RMW command received", /* 0_0110b */ |
78 | "Link Data error", /* 0_1010b */ | 78 | "WDT error: NB transaction timeout", /* 0_0111b */ |
79 | "Link or L3 Protocol error", /* 0_1011b */ | 79 | "ECC/ChipKill ECC error", /* 0_1000b */ |
80 | "NB Array error", /* 0_1100b */ | 80 | "SVM DEV Error", /* 0_1001b */ |
81 | "DRAM Parity error", /* 0_1101b */ | 81 | "Link Data error", /* 0_1010b */ |
82 | "Link Retry/GART Table Walk/DEV Table Walk error", /* 0_1110b */ | 82 | "Link/L3/Probe Filter Protocol error", /* 0_1011b */ |
83 | "Res 0x0ff error", /* 0_1111b */ | 83 | "NB Internal Arrays Parity error", /* 0_1100b */ |
84 | "Res 0x100 error", /* 1_0000b */ | 84 | "DRAM Address/Control Parity error", /* 0_1101b */ |
85 | "Res 0x101 error", /* 1_0001b */ | 85 | "Link Transmission error", /* 0_1110b */ |
86 | "Res 0x102 error", /* 1_0010b */ | 86 | "GART/DEV Table Walk Data error" /* 0_1111b */ |
87 | "Res 0x103 error", /* 1_0011b */ | 87 | "Res 0x100 error", /* 1_0000b */ |
88 | "Res 0x104 error", /* 1_0100b */ | 88 | "Res 0x101 error", /* 1_0001b */ |
89 | "Res 0x105 error", /* 1_0101b */ | 89 | "Res 0x102 error", /* 1_0010b */ |
90 | "Res 0x106 error", /* 1_0110b */ | 90 | "Res 0x103 error", /* 1_0011b */ |
91 | "Res 0x107 error", /* 1_0111b */ | 91 | "Res 0x104 error", /* 1_0100b */ |
92 | "Res 0x108 error", /* 1_1000b */ | 92 | "Res 0x105 error", /* 1_0101b */ |
93 | "Res 0x109 error", /* 1_1001b */ | 93 | "Res 0x106 error", /* 1_0110b */ |
94 | "Res 0x10A error", /* 1_1010b */ | 94 | "Res 0x107 error", /* 1_0111b */ |
95 | "Res 0x10B error", /* 1_1011b */ | 95 | "Res 0x108 error", /* 1_1000b */ |
96 | "L3 Cache Data error", /* 1_1100b */ | 96 | "Res 0x109 error", /* 1_1001b */ |
97 | "L3 CacheTag error", /* 1_1101b */ | 97 | "Res 0x10A error", /* 1_1010b */ |
98 | "L3 Cache LRU error", /* 1_1110b */ | 98 | "Res 0x10B error", /* 1_1011b */ |
99 | "Res 0x1FF error" /* 1_1111b */ | 99 | "ECC error in L3 Cache Data", /* 1_1100b */ |
100 | "L3 Cache Tag error", /* 1_1101b */ | ||
101 | "L3 Cache LRU Parity error", /* 1_1110b */ | ||
102 | "Probe Filter error" /* 1_1111b */ | ||
100 | }; | 103 | }; |
101 | EXPORT_SYMBOL_GPL(ext_msgs); | 104 | EXPORT_SYMBOL_GPL(ext_msgs); |