blob: 52e1fe924c053431084a943e98cb91b7aea64dcb [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
Lawrence Tang079d5812022-07-12 14:15:32 +01002 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "type": "object",
John Chung044afd02024-05-03 19:58:02 +08004 "required": [
John Chung044afd02024-05-03 19:58:02 +08005 "errorStatus",
6 "bank",
7 "memoryErrorType",
8 "extended",
9 "physicalAddress",
Aushim Nagarkatticc367012024-12-05 18:17:27 -080010 "physicalAddressHex",
John Chung044afd02024-05-03 19:58:02 +080011 "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 Tang079d5812022-07-12 14:15:32 +010026 "additionalProperties": false,
27 "properties": {
Lawrence Tang079d5812022-07-12 14:15:32 +010028 "errorStatus": {
29 "type": "object",
Andrew Adrianced9835a12024-12-05 14:41:42 -080030 "description": "Memory error status information.",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010031 "$ref": "./common/cper-json-error-status.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010032 },
33 "bank": {
34 "type": "object",
Andrew Adrianced9835a12024-12-05 14:41:42 -080035 "description": "The bank number of the memory associated with the error.",
Lawrence Tang079d5812022-07-12 14:15:32 +010036 "oneOf": [
37 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070038 "$id": "cper-json-bank0",
Lawrence Tang079d5812022-07-12 14:15:32 +010039 "type": "object",
40 "required": ["value"],
41 "properties": {
42 "value": {
43 "type": "integer"
44 }
45 }
46 },
47 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070048 "$id": "cper-json-bank1",
Lawrence Tang079d5812022-07-12 14:15:32 +010049 "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 Adrianced9835a12024-12-05 14:41:42 -080064 "description": "Identifies the type of error that occurred",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010065 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010066 },
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 Adrianced9835a12024-12-05 14:41:42 -080083 "type": "integer",
84 "description": "The physical address at which the memory error occurred."
Lawrence Tang079d5812022-07-12 14:15:32 +010085 },
Aushim Nagarkatticc367012024-12-05 18:17:27 -080086 "physicalAddressHex": {
87 "type": "string"
88 },
Lawrence Tang079d5812022-07-12 14:15:32 +010089 "physicalAddressMask": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080090 "type": "integer",
91 "description": "Defines the valid address bits in the Physical Address field. The mask specifies the granularity of the physical address."
Lawrence Tang079d5812022-07-12 14:15:32 +010092 },
93 "node": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080094 "type": "integer",
95 "description": "In a multi-node system, this value identifies the node containing the memory in error."
Lawrence Tang079d5812022-07-12 14:15:32 +010096 },
97 "card": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080098 "type": "integer",
99 "description": "The card number of the memory error location."
Lawrence Tang079d5812022-07-12 14:15:32 +0100100 },
101 "moduleRank": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800102 "type": "integer",
103 "description": "The module or rank number of the memory error location."
Lawrence Tang079d5812022-07-12 14:15:32 +0100104 },
105 "device": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800106 "type": "integer",
107 "description": "The device number of the memory associated with the error."
Lawrence Tang079d5812022-07-12 14:15:32 +0100108 },
109 "row": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800110 "type": "integer",
111 "description": "The row number of the memory error location."
Lawrence Tang079d5812022-07-12 14:15:32 +0100112 },
113 "column": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800114 "type": "integer",
115 "description": "The column number of the memory error location."
Lawrence Tang079d5812022-07-12 14:15:32 +0100116 },
117 "bitPosition": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800118 "type": "integer",
119 "description": "The bit position at which the memory error occurred."
Lawrence Tang079d5812022-07-12 14:15:32 +0100120 },
121 "requestorID": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800122 "type": "integer",
123 "description": "Hardware address of the device that initiated the transaction that took the error."
Lawrence Tang079d5812022-07-12 14:15:32 +0100124 },
125 "responderID": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800126 "type": "integer",
127 "description": "Hardware address of the device that responded to the transaction."
Lawrence Tang079d5812022-07-12 14:15:32 +0100128 },
129 "targetID": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800130 "type": "integer",
131 "description": "Hardware address of the intended target of the transaction."
Lawrence Tang079d5812022-07-12 14:15:32 +0100132 },
133 "rankNumber": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800134 "type": "integer",
135 "description": "The Rank number of the memory error location."
Lawrence Tang079d5812022-07-12 14:15:32 +0100136 },
137 "cardSmbiosHandle": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800138 "type": "integer",
139 "description": "This field contains the SMBIOS handle for the Type 16 Memory Array Structure that represents the memory card."
Lawrence Tang079d5812022-07-12 14:15:32 +0100140 },
141 "moduleSmbiosHandle": {
Andrew Adrianced9835a12024-12-05 14:41:42 -0800142 "type": "integer",
143 "description": "This field contains the SMBIOS handle for the Type 17 Memory Device Structure that represents the Memory Module."
Lawrence Tang079d5812022-07-12 14:15:32 +0100144 }
145 }
John Chung044afd02024-05-03 19:58:02 +0800146}