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": [ |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 5 | "errorStatus", |
| 6 | "bank", |
| 7 | "memoryErrorType", |
| 8 | "extended", |
| 9 | "physicalAddress", |
Aushim Nagarkatti | cc36701 | 2024-12-05 18:17:27 -0800 | [diff] [blame] | 10 | "physicalAddressHex", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 11 | "physicalAddressMask", |
| 12 | "node", |
| 13 | "card", |
| 14 | "moduleRank", |
| 15 | "device", |
| 16 | "row", |
| 17 | "column", |
| 18 | "bitPosition", |
| 19 | "requestorID", |
| 20 | "responderID", |
| 21 | "targetID", |
| 22 | "rankNumber", |
| 23 | "cardSmbiosHandle", |
| 24 | "moduleSmbiosHandle" |
| 25 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 26 | "additionalProperties": false, |
| 27 | "properties": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 28 | "errorStatus": { |
| 29 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 30 | "description": "Memory error status information.", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 31 | "$ref": "./common/cper-json-error-status.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 32 | }, |
| 33 | "bank": { |
| 34 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 35 | "description": "The bank number of the memory associated with the error.", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 36 | "oneOf": [ |
| 37 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 38 | "$id": "cper-json-bank0", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 39 | "type": "object", |
| 40 | "required": ["value"], |
| 41 | "properties": { |
| 42 | "value": { |
| 43 | "type": "integer" |
| 44 | } |
| 45 | } |
| 46 | }, |
| 47 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 48 | "$id": "cper-json-bank1", |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 49 | "type": "object", |
| 50 | "required": ["address", "group"], |
| 51 | "properties": { |
| 52 | "address": { |
| 53 | "type": "integer" |
| 54 | }, |
| 55 | "group": { |
| 56 | "type": "integer" |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | ] |
| 61 | }, |
| 62 | "memoryErrorType": { |
| 63 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 64 | "description": "Identifies the type of error that occurred", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 65 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 66 | }, |
| 67 | "extended": { |
| 68 | "type": "object", |
| 69 | "required": ["rowBit16", "rowBit17", "chipIdentification"], |
| 70 | "properties": { |
| 71 | "rowBit16": { |
| 72 | "type": "boolean" |
| 73 | }, |
| 74 | "rowBit17": { |
| 75 | "type": "boolean" |
| 76 | }, |
| 77 | "chipIdentification": { |
| 78 | "type": "integer" |
| 79 | } |
| 80 | } |
| 81 | }, |
| 82 | "physicalAddress": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 83 | "type": "integer", |
| 84 | "description": "The physical address at which the memory error occurred." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 85 | }, |
Aushim Nagarkatti | cc36701 | 2024-12-05 18:17:27 -0800 | [diff] [blame] | 86 | "physicalAddressHex": { |
| 87 | "type": "string" |
| 88 | }, |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 89 | "physicalAddressMask": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 90 | "type": "integer", |
| 91 | "description": "Defines the valid address bits in the Physical Address field. The mask specifies the granularity of the physical address." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 92 | }, |
| 93 | "node": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 94 | "type": "integer", |
| 95 | "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] | 96 | }, |
| 97 | "card": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 98 | "type": "integer", |
| 99 | "description": "The card number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 100 | }, |
| 101 | "moduleRank": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 102 | "type": "integer", |
| 103 | "description": "The module or rank number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 104 | }, |
| 105 | "device": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 106 | "type": "integer", |
| 107 | "description": "The device number of the memory associated with the error." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 108 | }, |
| 109 | "row": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 110 | "type": "integer", |
| 111 | "description": "The row number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 112 | }, |
| 113 | "column": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 114 | "type": "integer", |
| 115 | "description": "The column number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 116 | }, |
| 117 | "bitPosition": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 118 | "type": "integer", |
| 119 | "description": "The bit position at which the memory error occurred." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 120 | }, |
| 121 | "requestorID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 122 | "type": "integer", |
| 123 | "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] | 124 | }, |
| 125 | "responderID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 126 | "type": "integer", |
| 127 | "description": "Hardware address of the device that responded to the transaction." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 128 | }, |
| 129 | "targetID": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 130 | "type": "integer", |
| 131 | "description": "Hardware address of the intended target of the transaction." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 132 | }, |
| 133 | "rankNumber": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 134 | "type": "integer", |
| 135 | "description": "The Rank number of the memory error location." |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 136 | }, |
| 137 | "cardSmbiosHandle": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 138 | "type": "integer", |
| 139 | "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] | 140 | }, |
| 141 | "moduleSmbiosHandle": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 142 | "type": "integer", |
| 143 | "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] | 144 | } |
| 145 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 146 | } |