aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie
diff options
context:
space:
mode:
authorChen, Gong <gong.chen@linux.intel.com>2014-09-25 11:36:43 -0400
committerBjorn Helgaas <bhelgaas@google.com>2014-09-25 11:42:40 -0400
commitd179111767aa2a1d594023ce65abf9c81bfbb0cf (patch)
tree494020921a872994f72aec91429bb4c84fb9fc68 /drivers/pci/pcie
parentcb9a684acb3d79a5431ac78832148817debf3a06 (diff)
PCI/AER: Add additional PCIe AER error strings
Add strings for all AER error bits defined in PCIe r3.0. [bhelgaas: changelog, drop designated initializer change] Signed-off-by: Chen, Gong <gong.chen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie')
-rw-r--r--drivers/pci/pcie/aer/aerdrv_errprint.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv_errprint.c b/drivers/pci/pcie/aer/aerdrv_errprint.c
index 35d06e177917..c6849d9e86ce 100644
--- a/drivers/pci/pcie/aer/aerdrv_errprint.c
+++ b/drivers/pci/pcie/aer/aerdrv_errprint.c
@@ -89,15 +89,17 @@ static const char *aer_correctable_error_string[] = {
89 NULL, 89 NULL,
90 "Replay Timer Timeout", /* Bit Position 12 */ 90 "Replay Timer Timeout", /* Bit Position 12 */
91 "Advisory Non-Fatal", /* Bit Position 13 */ 91 "Advisory Non-Fatal", /* Bit Position 13 */
92 "Corrected Internal Error", /* Bit Position 14 */
93 "Header Log Overflow", /* Bit Position 15 */
92}; 94};
93 95
94static const char *aer_uncorrectable_error_string[] = { 96static const char *aer_uncorrectable_error_string[] = {
95 NULL, 97 "Undefined", /* Bit Position 0 */
96 NULL, 98 NULL,
97 NULL, 99 NULL,
98 NULL, 100 NULL,
99 "Data Link Protocol", /* Bit Position 4 */ 101 "Data Link Protocol", /* Bit Position 4 */
100 NULL, 102 "Surprise Down Error", /* Bit Position 5 */
101 NULL, 103 NULL,
102 NULL, 104 NULL,
103 NULL, 105 NULL,
@@ -113,6 +115,11 @@ static const char *aer_uncorrectable_error_string[] = {
113 "Malformed TLP", /* Bit Position 18 */ 115 "Malformed TLP", /* Bit Position 18 */
114 "ECRC", /* Bit Position 19 */ 116 "ECRC", /* Bit Position 19 */
115 "Unsupported Request", /* Bit Position 20 */ 117 "Unsupported Request", /* Bit Position 20 */
118 "ACS Violation", /* Bit Position 21 */
119 "Uncorrectable Internal Error", /* Bit Position 22 */
120 "MC Blocked TLP", /* Bit Position 23 */
121 "AtomicOp Egress Blocked", /* Bit Position 24 */
122 "TLP Prefix Blocked Error", /* Bit Position 25 */
116}; 123};
117 124
118static const char *aer_agent_string[] = { 125static const char *aer_agent_string[] = {