blob: 64f4c21acfed7b141cba26762c79267b23ec2bac [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
2 "$id": "cper-json-memory-section",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
4 "type": "object",
John Chung044afd02024-05-03 19:58:02 +08005 "required": [
6 "validationBits",
7 "errorStatus",
8 "bank",
9 "memoryErrorType",
10 "extended",
11 "physicalAddress",
12 "physicalAddressMask",
13 "node",
14 "card",
15 "moduleRank",
16 "device",
17 "row",
18 "column",
19 "bitPosition",
20 "requestorID",
21 "responderID",
22 "targetID",
23 "rankNumber",
24 "cardSmbiosHandle",
25 "moduleSmbiosHandle"
26 ],
Lawrence Tang079d5812022-07-12 14:15:32 +010027 "additionalProperties": false,
28 "properties": {
29 "validationBits": {
30 "type": "object",
John Chung044afd02024-05-03 19:58:02 +080031 "required": [
32 "errorStatusValid",
33 "physicalAddressValid",
34 "physicalAddressMaskValid",
35 "nodeValid",
36 "cardValid",
37 "moduleValid",
38 "bankValid",
39 "deviceValid",
40 "rowValid",
41 "columnValid",
42 "bitPositionValid",
43 "platformRequestorIDValid",
44 "platformResponderIDValid",
45 "memoryPlatformTargetValid",
46 "memoryErrorTypeValid",
47 "rankNumberValid",
48 "cardHandleValid",
49 "moduleHandleValid",
50 "extendedRowBitsValid",
51 "bankGroupValid",
52 "bankAddressValid",
53 "chipIdentificationValid"
54 ],
Lawrence Tang079d5812022-07-12 14:15:32 +010055 "properties": {
56 "errorStatusValid": {
57 "type": "boolean"
58 },
59 "physicalAddressValid": {
60 "type": "boolean"
61 },
62 "physicalAddressMaskValid": {
63 "type": "boolean"
64 },
65 "nodeValid": {
66 "type": "boolean"
67 },
68 "cardValid": {
69 "type": "boolean"
70 },
71 "moduleValid": {
72 "type": "boolean"
73 },
74 "bankValid": {
75 "type": "boolean"
76 },
77 "deviceValid": {
78 "type": "boolean"
79 },
80 "rowValid": {
81 "type": "boolean"
82 },
Lawrence Tang42375842022-07-19 16:25:47 +010083 "columnValid": {
84 "type": "boolean"
85 },
86 "bitPositionValid": {
87 "type": "boolean"
88 },
89 "platformRequestorIDValid": {
90 "type": "boolean"
91 },
92 "platformResponderIDValid": {
93 "type": "boolean"
94 },
Lawrence Tang079d5812022-07-12 14:15:32 +010095 "memoryPlatformTargetValid": {
96 "type": "boolean"
97 },
98 "memoryErrorTypeValid": {
99 "type": "boolean"
100 },
101 "rankNumberValid": {
102 "type": "boolean"
103 },
104 "cardHandleValid": {
105 "type": "boolean"
106 },
107 "moduleHandleValid": {
108 "type": "boolean"
109 },
110 "extendedRowBitsValid": {
111 "type": "boolean"
112 },
113 "bankGroupValid": {
114 "type": "boolean"
115 },
116 "bankAddressValid": {
117 "type": "boolean"
118 },
119 "chipIdentificationValid": {
120 "type": "boolean"
121 }
122 }
123 },
124 "errorStatus": {
125 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +0100126 "$ref": "./common/cper-json-error-status.json"
Lawrence Tang079d5812022-07-12 14:15:32 +0100127 },
128 "bank": {
129 "type": "object",
130 "oneOf": [
131 {
132 "type": "object",
133 "required": ["value"],
134 "properties": {
135 "value": {
136 "type": "integer"
137 }
138 }
139 },
140 {
141 "type": "object",
142 "required": ["address", "group"],
143 "properties": {
144 "address": {
145 "type": "integer"
146 },
147 "group": {
148 "type": "integer"
149 }
150 }
151 }
152 ]
153 },
154 "memoryErrorType": {
155 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +0100156 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +0100157 },
158 "extended": {
159 "type": "object",
160 "required": ["rowBit16", "rowBit17", "chipIdentification"],
161 "properties": {
162 "rowBit16": {
163 "type": "boolean"
164 },
165 "rowBit17": {
166 "type": "boolean"
167 },
168 "chipIdentification": {
169 "type": "integer"
170 }
171 }
172 },
173 "physicalAddress": {
174 "type": "integer"
175 },
176 "physicalAddressMask": {
177 "type": "integer"
178 },
179 "node": {
180 "type": "integer"
181 },
182 "card": {
183 "type": "integer"
184 },
185 "moduleRank": {
186 "type": "integer"
187 },
188 "device": {
189 "type": "integer"
190 },
191 "row": {
192 "type": "integer"
193 },
194 "column": {
195 "type": "integer"
196 },
197 "bitPosition": {
198 "type": "integer"
199 },
200 "requestorID": {
201 "type": "integer"
202 },
203 "responderID": {
204 "type": "integer"
205 },
206 "targetID": {
207 "type": "integer"
208 },
209 "rankNumber": {
210 "type": "integer"
211 },
212 "cardSmbiosHandle": {
213 "type": "integer"
214 },
215 "moduleSmbiosHandle": {
216 "type": "integer"
217 }
218 }
John Chung044afd02024-05-03 19:58:02 +0800219}