blob: 2075b3b481ca9b87742fd88818e15323f80916b2 [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",
Andrew Adrianced9835a12024-12-05 14:41:42 -08004 "description": "DMAr Generic Error Section",
John Chung044afd02024-05-03 19:58:02 +08005 "required": [
6 "requesterID",
7 "segmentNumber",
8 "faultReason",
9 "accessType",
10 "addressType",
11 "architectureType",
12 "deviceAddress"
13 ],
Lawrence Tang079d5812022-07-12 14:15:32 +010014 "additionalProperties": false,
15 "properties": {
16 "requesterID": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080017 "type": "integer",
18 "description": "Device ID associated with a fault condition"
Lawrence Tang079d5812022-07-12 14:15:32 +010019 },
20 "segmentNumber": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080021 "type": "integer",
22 "description": "PCI segment associated with a device"
Lawrence Tang079d5812022-07-12 14:15:32 +010023 },
24 "faultReason": {
25 "type": "object",
Lawrence Tang42375842022-07-19 16:25:47 +010026 "required": ["value", "name"],
Lawrence Tang079d5812022-07-12 14:15:32 +010027 "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",
Andrew Adrianced9835a12024-12-05 14:41:42 -080041 "description": "Either read or write.",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010042 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010043 },
44 "addressType": {
45 "type": "object",
Andrew Adrianced9835a12024-12-05 14:41:42 -080046 "description": "Either Translated or untranslated address",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010047 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010048 },
49 "architectureType": {
50 "type": "object",
Andrew Adrianced9835a12024-12-05 14:41:42 -080051 "description": "Either VT-d or IOMMU",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010052 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010053 },
54 "deviceAddress": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080055 "type": "integer",
56 "description": "The 64-bit device virtual address in the faulted DMA request"
Lawrence Tang079d5812022-07-12 14:15:32 +010057 }
58 }
John Chung044afd02024-05-03 19:58:02 +080059}