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", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 4 | "required": [ |
| 5 | "validationBits", |
| 6 | "errorStatus", |
| 7 | "bank", |
| 8 | "memoryErrorType", |
| 9 | "status", |
| 10 | "physicalAddress", |
| 11 | "physicalAddressMask", |
| 12 | "node", |
| 13 | "card", |
| 14 | "module", |
| 15 | "device", |
| 16 | "row", |
| 17 | "column", |
| 18 | "bitPosition", |
| 19 | "rank", |
| 20 | "chipID", |
| 21 | "requestorID", |
| 22 | "responderID", |
| 23 | "targetID", |
| 24 | "cardSmbiosHandle", |
| 25 | "moduleSmbiosHandle" |
| 26 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 27 | "additionalProperties": false, |
| 28 | "properties": { |
| 29 | "validationBits": { |
| 30 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 31 | "description": "Indicates which fields in this section are valid.", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 32 | "required": [ |
| 33 | "errorStatusValid", |
| 34 | "physicalAddressValid", |
| 35 | "physicalAddressMaskValid", |
| 36 | "nodeValid", |
| 37 | "cardValid", |
| 38 | "moduleValid", |
| 39 | "bankValid", |
| 40 | "deviceValid", |
| 41 | "rowValid", |
| 42 | "columnValid", |
| 43 | "rankValid", |
| 44 | "bitPositionValid", |
| 45 | "chipIDValid", |
| 46 | "memoryErrorTypeValid", |
| 47 | "statusValid", |
| 48 | "requestorIDValid", |
| 49 | "responderIDValid", |
| 50 | "targetIDValid", |
| 51 | "cardHandleValid", |
| 52 | "moduleHandleValid", |
| 53 | "bankGroupValid", |
| 54 | "bankAddressValid" |
| 55 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 56 | "properties": { |
| 57 | "errorStatusValid": { |
| 58 | "type": "boolean" |
| 59 | }, |
| 60 | "physicalAddressValid": { |
| 61 | "type": "boolean" |
| 62 | }, |
| 63 | "physicalAddressMaskValid": { |
| 64 | "type": "boolean" |
| 65 | }, |
| 66 | "nodeValid": { |
| 67 | "type": "boolean" |
| 68 | }, |
| 69 | "cardValid": { |
| 70 | "type": "boolean" |
| 71 | }, |
| 72 | "moduleValid": { |
| 73 | "type": "boolean" |
| 74 | }, |
| 75 | "bankValid": { |
| 76 | "type": "boolean" |
| 77 | }, |
| 78 | "deviceValid": { |
| 79 | "type": "boolean" |
| 80 | }, |
| 81 | "rowValid": { |
| 82 | "type": "boolean" |
| 83 | }, |
| 84 | "columnValid": { |
| 85 | "type": "boolean" |
| 86 | }, |
| 87 | "rankValid": { |
| 88 | "type": "boolean" |
| 89 | }, |
| 90 | "bitPositionValid": { |
| 91 | "type": "boolean" |
| 92 | }, |
| 93 | "chipIDValid": { |
| 94 | "type": "boolean" |
| 95 | }, |
| 96 | "memoryErrorTypeValid": { |
| 97 | "type": "boolean" |
| 98 | }, |
| 99 | "statusValid": { |
| 100 | "type": "boolean" |
| 101 | }, |
| 102 | "requestorIDValid": { |
| 103 | "type": "boolean" |
| 104 | }, |
| 105 | "responderIDValid": { |
| 106 | "type": "boolean" |
| 107 | }, |
| 108 | "targetIDValid": { |
| 109 | "type": "boolean" |
| 110 | }, |
| 111 | "cardHandleValid": { |
| 112 | "type": "boolean" |
| 113 | }, |
| 114 | "moduleHandleValid": { |
| 115 | "type": "boolean" |
| 116 | }, |
| 117 | "bankGroupValid": { |
| 118 | "type": "boolean" |
| 119 | }, |
| 120 | "bankAddressValid": { |
| 121 | "type": "boolean" |
| 122 | } |
| 123 | } |
| 124 | }, |
| 125 | "errorStatus": { |
| 126 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 127 | "description": "Memory error status information.", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 128 | "$ref": "./common/cper-json-error-status.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 129 | }, |
| 130 | "bank": { |
| 131 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 132 | "description": "The bank number of the memory associated with the error.", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 133 | "oneOf": [ |
| 134 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 135 | "$id": "cper-json-bank0", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 136 | "type": "object", |
| 137 | "required": ["value"], |
| 138 | "properties": { |
| 139 | "value": { |
| 140 | "type": "integer" |
| 141 | } |
| 142 | } |
| 143 | }, |
| 144 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 145 | "$id": "cper-json-bank1", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 146 | "type": "object", |
| 147 | "required": ["address", "group"], |
| 148 | "properties": { |
| 149 | "address": { |
| 150 | "type": "integer" |
| 151 | }, |
| 152 | "group": { |
| 153 | "type": "integer" |
| 154 | } |
| 155 | } |
| 156 | } |
| 157 | ] |
| 158 | }, |
| 159 | "memoryErrorType": { |
| 160 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 161 | "description": "Identifies the type of error that occurred", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 162 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 163 | }, |
| 164 | "status": { |
| 165 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 166 | "description": "Memory error status information.", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 167 | "required": ["value", "state"], |
| 168 | "properties": { |
| 169 | "value": { |
| 170 | "type": "integer" |
| 171 | }, |
| 172 | "state": { |
| 173 | "type": "string" |
| 174 | } |
| 175 | } |
| 176 | }, |
| 177 | "physicalAddress": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 178 | "type": "integer", |
| 179 | "description": "The physical address at which the memory error occurred." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 180 | }, |
| 181 | "physicalAddressMask": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 182 | "type": "integer", |
| 183 | "description": "Defines the valid address bits in the Physical Address field. The mask specifies the granularity of the physical address which is dependent on the hardware implementation factors such as interleaving." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 184 | }, |
| 185 | "node": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 186 | "type": "integer", |
| 187 | "description": "In a multi-node system, this value identifies the node containing the memory in error." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 188 | }, |
| 189 | "card": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 190 | "type": "integer", |
| 191 | "description": "The card number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 192 | }, |
| 193 | "module": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 194 | "type": "integer", |
| 195 | "description": "The module number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 196 | }, |
| 197 | "device": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 198 | "type": "integer", |
| 199 | "description": "The device number of the memory associated with the error." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 200 | }, |
| 201 | "row": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 202 | "type": "integer", |
| 203 | "description": "The row number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 204 | }, |
| 205 | "column": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 206 | "type": "integer", |
| 207 | "description": "The column number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 208 | }, |
| 209 | "bitPosition": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 210 | "type": "integer", |
| 211 | "description": "The bit position at which the memory error occurred." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 212 | }, |
| 213 | "rank": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 214 | "type": "integer", |
| 215 | "description": "The rank number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 216 | }, |
| 217 | "chipID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 218 | "type": "integer", |
| 219 | "description": "The Chip Identification. This is an encoded field used to address the die in 3DS packages." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 220 | }, |
| 221 | "requestorID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 222 | "type": "integer", |
| 223 | "description": "Hardware address of the device that initiated the transaction that took the error." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 224 | }, |
| 225 | "responderID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 226 | "type": "integer", |
| 227 | "description": "Hardware address of the device that responded to the transaction." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 228 | }, |
| 229 | "targetID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 230 | "type": "integer", |
| 231 | "description": "Hardware address of the intended target of the transaction." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 232 | }, |
| 233 | "cardSmbiosHandle": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 234 | "type": "integer", |
| 235 | "description": "This field contains the SMBIOS handle for the Type 16 Memory Array Structure that represents the memory card." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 236 | }, |
| 237 | "moduleSmbiosHandle": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 238 | "type": "integer", |
| 239 | "description": "This field contains the SMBIOS handle for the Type 17 Memory Device Structure that represents the Memory Module." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 240 | } |
| 241 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 242 | } |