xref: /openbmc/libcper/specification/json/sections/cper-generic-processor.json (revision d9835a173ed9611090acc6d51493128a5e387385)
1{
2    "$schema": "https://json-schema.org/draft/2020-12/schema",
3    "type": "object",
4    "description": "Generic Processor Error Section",
5    "required": [
6        "validationBits",
7        "processorType",
8        "processorISA",
9        "errorType",
10        "operation",
11        "flags",
12        "level",
13        "cpuVersionInfo",
14        "cpuBrandString",
15        "processorID",
16        "targetAddress",
17        "requestorID",
18        "responderID",
19        "instructionIP"
20    ],
21    "additionalProperties": false,
22    "properties": {
23        "validationBits": {
24            "type": "object",
25            "description": "Indiciates what fields in the section are valid",
26            "required": [
27                "processorTypeValid",
28                "processorISAValid",
29                "processorErrorTypeValid",
30                "operationValid",
31                "flagsValid",
32                "levelValid",
33                "cpuVersionValid",
34                "cpuBrandInfoValid",
35                "cpuIDValid",
36                "targetAddressValid",
37                "requestorIDValid",
38                "responderIDValid",
39                "instructionIPValid"
40            ],
41            "properties": {
42                "processorTypeValid": {
43                    "type": "boolean"
44                },
45                "processorISAValid": {
46                    "type": "boolean"
47                },
48                "processorErrorTypeValid": {
49                    "type": "boolean"
50                },
51                "operationValid": {
52                    "type": "boolean"
53                },
54                "flagsValid": {
55                    "type": "boolean"
56                },
57                "levelValid": {
58                    "type": "boolean"
59                },
60                "cpuVersionValid": {
61                    "type": "boolean"
62                },
63                "cpuBrandInfoValid": {
64                    "type": "boolean"
65                },
66                "cpuIDValid": {
67                    "type": "boolean"
68                },
69                "targetAddressValid": {
70                    "type": "boolean"
71                },
72                "requestorIDValid": {
73                    "type": "boolean"
74                },
75                "responderIDValid": {
76                    "type": "boolean"
77                },
78                "instructionIPValid": {
79                    "type": "boolean"
80                }
81            }
82        },
83        "processorType": {
84            "type": "object",
85            "description": "Identifies the type of the processor architecture.",
86            "$ref": "./common/cper-json-nvp.json"
87        },
88        "processorISA": {
89            "type": "object",
90            "description": "Identifies the type of the instruction set executing when the error occurred",
91            "$ref": "./common/cper-json-nvp.json"
92        },
93        "errorType": {
94            "type": "object",
95            "description": "Indicates the type of error that occurred",
96            "$ref": "./common/cper-json-nvp.json"
97        },
98        "operation": {
99            "type": "object",
100            "description": "Indicates the type of operation",
101            "$ref": "./common/cper-json-nvp.json"
102        },
103        "flags": {
104            "type": "object",
105            "description": "Indicates additional information about the error",
106            "required": ["restartable", "preciseIP", "overflow", "corrected"],
107            "properties": {
108                "restartable": {
109                    "type": "boolean",
110                    "description": "program execution can be restarted reliably after the error"
111                },
112                "preciseIP": {
113                    "type": "boolean",
114                    "description": "the instruction IP captured is directly associated with the error"
115                },
116                "overflow": {
117                    "type": "boolean",
118                    "description": "a machine check overflow occurred (a second error occurred while the results of a previous error were still in the error reporting resources)"
119                },
120                "corrected": {
121                    "type": "boolean",
122                    "description": "the error was corrected by hardware and/or firmware"
123                }
124            }
125        },
126        "level": {
127            "type": "integer",
128            "description": "Level of the structure where the error occurred, with 0 being the lowest level of cache."
129        },
130        "cpuVersionInfo": {
131            "type": "integer",
132            "description": "This field represents the CPU Version Information and returns Family, Model, and stepping information"
133        },
134        "cpuBrandString": {
135            "type": "string",
136            "description": "This field represents the null-terminated ASCII Processor Brand String"
137        },
138        "processorID": {
139            "type": "integer",
140            "description": "This value uniquely identifies the logical processor"
141        },
142        "targetAddress": {
143            "type": "integer",
144            "description": "Identifies the target address associated with the error"
145        },
146        "requestorID": {
147            "type": "integer",
148            "description": "Identifies the requestor associated with the error"
149        },
150        "responderID": {
151            "type": "integer",
152            "description": "Identifies the responder associated with the error"
153        },
154        "instructionIP": {
155            "type": "integer",
156            "description": "Identifies the instruction pointer when the error occurred"
157        }
158    }
159}
160