xref: /openbmc/libcper/specification/json/sections/cper-generic-dmar.json (revision d9835a173ed9611090acc6d51493128a5e387385)
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            "properties": {
28                "value": {
29                    "type": "integer"
30                },
31                "name": {
32                    "type": "string"
33                },
34                "description": {
35                    "type": "string"
36                }
37            }
38        },
39        "accessType": {
40            "type": "object",
41            "description": "Either read or write.",
42            "$ref": "./common/cper-json-nvp.json"
43        },
44        "addressType": {
45            "type": "object",
46            "description": "Either Translated or untranslated address",
47            "$ref": "./common/cper-json-nvp.json"
48        },
49        "architectureType": {
50            "type": "object",
51            "description": "Either VT-d or IOMMU",
52            "$ref": "./common/cper-json-nvp.json"
53        },
54        "deviceAddress": {
55            "type": "integer",
56            "description": "The 64-bit device virtual address in the faulted DMA request"
57        }
58    }
59}
60