xref: /openbmc/libcper/specification/json/sections/cper-nvidia-event-data-gpu-legacy-xid.json (revision 51c1813200b42fa35d49eb0c214339ac479f090d)
1{
2    "$schema": "https://json-schema.org/draft/2020-12/schema",
3    "$id": "cper-json-nvidia-event-data-gpu-legacy-xid",
4    "type": "object",
5    "description": "GPU legacy XID context data (GPU dataFormatType=2)",
6    "additionalProperties": false,
7    "required": [
8        "xid",
9        "subXid",
10        "xidInfo",
11        "faultingEngineId",
12        "faultingSubSystem",
13        "faultingSlot",
14        "faultingAddress",
15        "timeStampLo",
16        "timeStampHi",
17        "rawFirst16DWords",
18        "rawSecond16DWords"
19    ],
20    "properties": {
21        "xid": { "type": "integer", "minimum": 0 },
22        "subXid": { "type": "integer", "minimum": 0 },
23        "xidInfo": { "type": "integer", "minimum": 0 },
24        "faultingEngineId": { "type": "integer", "minimum": 0 },
25        "faultingSubSystem": { "type": "integer", "minimum": 0 },
26        "faultingSlot": { "type": "integer", "minimum": 0 },
27        "faultingAddress": { "type": "integer", "minimum": 0 },
28        "timeStampLo": { "type": "integer", "minimum": 0 },
29        "timeStampHi": { "type": "integer", "minimum": 0 },
30        "rawFirst16DWords": {
31            "type": "string",
32            "pattern": "^[A-Za-z0-9+/]*={0,2}$"
33        },
34        "rawSecond16DWords": {
35            "type": "string",
36            "pattern": "^[A-Za-z0-9+/]*={0,2}$"
37        },
38        "data": { "type": "string", "pattern": "^[A-Za-z0-9+/]*={0,2}$" }
39    }
40}
41