xref: /openbmc/libcper/specification/json/sections/cper-generic-processor.json (revision a3663051b36d33dc4b102109666ee31b0c23582f)
1{
2    "$schema": "https://json-schema.org/draft/2020-12/schema",
3    "type": "object",
4    "description": "Generic Processor Error Section",
5    "required": [],
6    "additionalProperties": false,
7    "properties": {
8        "processorType": {
9            "type": "object",
10            "description": "Identifies the type of the processor architecture.",
11            "$ref": "./common/cper-json-nvp.json"
12        },
13        "processorISA": {
14            "type": "object",
15            "description": "Identifies the type of the instruction set executing when the error occurred",
16            "$ref": "./common/cper-json-nvp.json"
17        },
18        "errorType": {
19            "type": "object",
20            "description": "Indicates the type of error that occurred",
21            "$ref": "./common/cper-json-nvp.json"
22        },
23        "operation": {
24            "type": "object",
25            "description": "Indicates the type of operation",
26            "$ref": "./common/cper-json-nvp.json"
27        },
28        "flags": {
29            "type": "object",
30            "additionalProperties": false,
31            "description": "Indicates additional information about the error",
32            "required": ["restartable", "preciseIP", "overflow", "corrected"],
33            "properties": {
34                "restartable": {
35                    "type": "boolean",
36                    "description": "program execution can be restarted reliably after the error"
37                },
38                "preciseIP": {
39                    "type": "boolean",
40                    "description": "the instruction IP captured is directly associated with the error"
41                },
42                "overflow": {
43                    "type": "boolean",
44                    "description": "a machine check overflow occurred (a second error occurred while the results of a previous error were still in the error reporting resources)"
45                },
46                "corrected": {
47                    "type": "boolean",
48                    "description": "the error was corrected by hardware and/or firmware"
49                }
50            }
51        },
52        "level": {
53            "type": "integer",
54            "description": "Level of the structure where the error occurred, with 0 being the lowest level of cache."
55        },
56        "cpuVersionInfo": {
57            "type": "integer",
58            "description": "This field represents the CPU Version Information and returns Family, Model, and stepping information"
59        },
60        "cpuBrandString": {
61            "type": "string",
62            "description": "This field represents the null-terminated ASCII Processor Brand String"
63        },
64        "processorID": {
65            "type": "integer",
66            "description": "This value uniquely identifies the logical processor"
67        },
68        "targetAddress": {
69            "type": "integer",
70            "description": "Identifies the target address associated with the error"
71        },
72        "requestorID": {
73            "type": "integer",
74            "description": "Identifies the requestor associated with the error"
75        },
76        "responderID": {
77            "type": "integer",
78            "description": "Identifies the responder associated with the error"
79        },
80        "instructionIP": {
81            "type": "integer",
82            "description": "Identifies the instruction pointer when the error occurred"
83        }
84    }
85}
86