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