xref: /openbmc/libcper/specification/json/sections/cper-generic-dmar.json (revision 7a531ff443c5ab48e5a6dfbdfd28f41a18dcb308)
1{
2    "$schema": "https://json-schema.org/draft/2020-12/schema",
3    "type": "object",
4    "description": "DMAr Generic Error Section",
5    "required": [
6        "requesterID",
7        "segmentNumber",
8        "faultReason",
9        "accessType",
10        "addressType",
11        "architectureType",
12        "deviceAddress"
13    ],
14    "additionalProperties": false,
15    "properties": {
16        "requesterID": {
17            "type": "integer",
18            "description": "Device ID associated with a fault condition"
19        },
20        "segmentNumber": {
21            "type": "integer",
22            "description": "PCI segment associated with a device"
23        },
24        "faultReason": {
25            "type": "object",
26            "required": ["value", "name"],
27            "additionalProperties": false,
28            "properties": {
29                "value": {
30                    "type": "integer"
31                },
32                "name": {
33                    "type": "string"
34                },
35                "description": {
36                    "type": "string"
37                }
38            }
39        },
40        "accessType": {
41            "type": "object",
42            "description": "Either read or write.",
43            "$ref": "./common/cper-json-nvp.json"
44        },
45        "addressType": {
46            "type": "object",
47            "description": "Either Translated or untranslated address",
48            "$ref": "./common/cper-json-nvp.json"
49        },
50        "architectureType": {
51            "type": "object",
52            "description": "Either VT-d or IOMMU",
53            "$ref": "./common/cper-json-nvp.json"
54        },
55        "deviceAddress": {
56            "type": "integer",
57            "description": "The 64-bit device virtual address in the faulted DMA request"
58        }
59    }
60}
61